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
Can struct inherit from class c#?
What is parseexact c#?
Can you declare struct members as protected?
What are data types with examples?
What is a static class in c#?
What are the three types of operators?
What is parameterized constructor?
Explain About multi level and multiple inheritance how to achieve in .net
Why do we use ienumerable in c#?
Is Multiple-inheritance supported by c#?
What is threading in c# with example?
Can a string be null c#?
What are the steps to create an assembly and add it to the gac?
What is satellite assembly? And steps to create satellite assembly?
What is thread life cycle in c#?