How structure objects are destroyed? As GC releases only
the objects in stack, and structure is a value type and
stored in heap. So how structure objects are released?
Answer Posted / chandu
Structure is a class but value type.once if you create an
object for any class then that is reference type,so
reference types can be destroyed by GC
Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What are delegates?
What is predicate c#?
How a two-dimensional array declared in C#?
Describe the parts of assembly.
What's the difference between abstraction and encapsulation?
What is difference between a type and class?
What is a reference type c#?
What are the different types of delegation?
How to create multi-dimensional array?
How do I do implement a assert?
What is the difference between virtual and override in c#?
What types of object can I throw as exceptions?
What are the fundamental oop concepts?
Explain how do you debug an asp.net web application?
Explain the various types of classes used in c#?