what are the differences b/w structure and class?
Answer Posted / jones
***class can have constructor, but structure cant have
constructor.***
***class can have garbage collector, but structure cant
have garbage collector***
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
Is stringbuilder faster than string concatenation c#?
What is lazy loading and eager loading in c#?
What is difference between private and protected in c#?
Why we use oops in c#?
Why extension method is static?
What is an interface class? Give one example of it
Is is possible to force garbage collector to run?
What is the difference between protected and internal in c#?
How many bits is int32?
Can you put two constructor with the same structure in a class?
What is bitwise operator in c#?
What is the difference between dispose() and finalize() methods in c#?
Can we inherit class that contains only one private constructor?
In which situation(s), the use of "Delegate" is a good idea?
What is getenumerator?