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 the use of console?
What is single dimensional array in c#?
What is Web.config?
What is the difference between method and constructor in c#?
What does mean c#?
Explain how many types of exception handlers are there in .net?
How can I make sure my c# classes will interoperate with other .net languages?
What is Garbage Collection in .Net?
Can you declare struct members as protected?
if a method is marked as protected internal who can access it?
How main method is called in c#?
Explain the difference between object type and dynamic type variables in c#?
Does a class need a constructor c#?
What is the use of jit ? Jit (just - in - time) is a compiler which converts msil code to
How many types of collections are there in c#?