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 Uses of CLR
What is a static in c#?
For methods inside the interface why can’t you specify the accessibility modifier?
What is static class in C#?
Why reflection is used in c#?
What is the advantage of static class in c#?
What is a factory in c#?
Why generics are used in c#?
What do u mean by thread safe?
What is instantiating a class in c#?
What are the types of access modifiers?
What is multithreading with .net?
What is static classes in c#?
What are the types of operator?
Is xamarin free?