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 entitytype? : Entity framework

0 Answers  


What is net framework 3.0 ?

0 Answers  


What's the difference between Java and .NET garbage collectors ?

1 Answers   BirlaSoft,


what is explicit loading?

0 Answers   Microsoft,


What is the difference between STA and MTA?

3 Answers  






What is the difference between managed and unmanaged code?

12 Answers   IBM,


In which testing using in .net framwork?

2 Answers  


Changes to which portion of version number indicates an incompatible change

1 Answers  


how to create session in .net

3 Answers  


What is a serverside technology? what is a clientside technology? what is a clientserver technology? what is a internet based application? what is a intranet based application? what is a windows application? what is a console application? Difference between console application and windows application?

4 Answers   IBM,


How does assembly versioning work?

1 Answers  


Which is the base class for .net Class library?

12 Answers   Sonata, TCS,


Categories