what are the differences b/w structure and class?
Answer Posted / purushotham .tella
Structures are Value-Types. This means, the data that they
contain is stored as a stack on the memory. Classes are
Reference-Types, means they are stored as a heap on the memory.
Structures are implicitly derived from a class called
System.ValueType.
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
What is an assembly in dotnet?
What is the difference between proc. Sent by val and by sub?
What is a property in c#?
What is ac callback?
What are the advantages of using c#?
How to rotate an Image in C#?
What are the differences between static, public and void in c#?
What is the c# equivalent of c++ catch (...), Which was a catch-all statement for any possible exception?
Do events have return type c#?
What are the benefits of using generics?
Why do we need generics?
How is the syntax written to inherit from a class in C#?Give an example ?
Write the difference between TypeOf and GetType?
What is uint64_t?
what is inheritance and an example in vb.net and c# of when you might use it?