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 is generic types in c#?
What is binding in c#?
What is local function?
Is array a list?
What is the c# equivalent of c++ catch (...), Which was a catch-all statement for any possible exception?
How many root nodes are there in an xml document?
What are verbatim strings in c#?
What does static mean in c sharp?
What is a custom attribute?
Is string a class in c#?
What is integer c#?
What is a value type in c#?
What is type keyword in c#?
What is the main method in c#?
How is exception handling implemented in c#?