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
Does c# support multiple inheritance (mi)?
What is action in c# 3.5?
How to implement a singleton design pattern in c#?
Is a decimal an integer?
What is data binding with example?
What is c# commonly used for?
What is the difference between array and arraylist in c#?
Can we use "this" command within a static method?
What is multithreading? What are the problems that comes with multithreading and how to manage them?
What are the types of delegates in c#?
Why abstract class is not instantiated in c#?
How does bubble sort work?
What does int32 mean?
How do you declare a method in c#?
Can you instantiate a struct without using a new operator in c#?