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 actions in c#?
What is difference between assembly and dll?
What is system console writeline in c#?
How to use reflection to call generic method?
What is Garbage Collection in .Net?
What is class method c#?
What is the benefit of dependency injection c#?
Is hashset ordered c#?
What is a ienumerator?
What are the new features in c# 2.0?
What is difference between string and stringbuffer in c#?
What is tryparse?
Why c# is type safe?
What is the difference between // comments, /* */ comments and /// comments?
What is constructor overloading in c#?