in Dot Net by
Q:

What is the difference between a Struct and a Class?

▼ Show 1 Answer

0 votes
by

Structs are value-type variables and classes are reference types. Structs stored on the stack, causes additional overhead but faster retrieval. Structs cannot be inherited.

Learn More with Madanswer

Related questions

+1 vote
asked Jun 25, 2019 in Dot Net by Venkatshastri
...