What is the difference between the value-type variables and reference-type variables in terms of garbage collection ?



What is the difference between the value-type variables and reference-type variables in terms of gar..

Answer / kirti

The value-type variables are not garbage-collected, they just fall off the stack when they fall out of scope, the reference-type objects

are picked up by GC when their references go null.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net Framework Interview Questions

what is csdl?

0 Answers   Microsoft,


What is needed for running an application built on winfx on the .net framework 3.0?

0 Answers  


What is MSIL, IL, CTS and, CLR

1 Answers  


What does 'managed' mean in the .NET context

1 Answers  


what is difference b/w .net 1.1 and .net 2.0. I need Answer in c# , asp.net and ado.net Level.Like c#1.1 and c#.1.1 , ado.net1.1 and ado.net2.0 and asp.net1.1 and asp.net2.0

4 Answers  






Is the lack of deterministic destruction in .NET a problem

1 Answers  


What are html helpers in asp.net mvc?

0 Answers  


Can we access the web controls in a page pre initialising event?

2 Answers  


what is .net?

20 Answers   IBM,


What is entity client data provider? : Entity framework

0 Answers  


What is Reflection in .NET?

6 Answers   Fiserv, TCS,


What happens when I install the .net framework 3.0? How can I upgrade if I already have the .net framework 2.0 installed?

0 Answers  


Categories