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?

Answers were Sorted based on User's Feedback



How structure objects are destroyed? As GC releases only the objects in stack, and structure is a ..

Answer / 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

How structure objects are destroyed? As GC releases only the objects in stack, and structure is a ..

Answer / xyz

As GC releases only
the objects in stack, and structure is a value type and
stored in heap......



answer is... question itself

Is This Answer Correct ?    0 Yes 9 No

Post New Answer

More C Sharp Interview Questions

What is nameof c#?

1 Answers  


What?s the top .NET class that everything is derived from?

4 Answers   Hindawi, Siebel, Visual Soft,


What is object array in c#?

1 Answers  


Which is faster dictionary or list?

1 Answers  


What is as keyword in c#?

1 Answers  


Where do we use serialization in c#?

1 Answers  


how to print invert pyramid in c#

1 Answers   ForSight,


Where is the keyword void used?

1 Answers  


Can we inherit singleton class in c#?

1 Answers  


What is nullable types in c#?

1 Answers  


Why are mutable structs evil?

1 Answers  


What debugging tools come with the .NET ssSDK?

1 Answers   Siebel,


Categories