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

In howmany ways can you deploy an assembly?

0 Answers   Siebel,


How to force my .net app to run as administrator on windows 7?

0 Answers  


What is inumerable?

0 Answers  


Why do you need boxing in c#?

0 Answers  


What is a dictionary in c#?

0 Answers  


Can you pass value types by reference to a method?

0 Answers  


How does one compare strings in c#?

0 Answers  


What is property c#?

0 Answers  


Is int an object in c#?

0 Answers  


What are the different types of delegates?

0 Answers  


Is there a way to force garbage collection?

0 Answers  


Explain About Global.asax

0 Answers   Keane India Ltd,


Categories