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

Explain the new features added in version 4 of mvc (mvc4)?

0 Answers  


What is IL

1 Answers  


What is GC (Garbage Collection) and how it works

1 Answers  


What is viewdata?

0 Answers  


What is the difference between ViewData, ViewBag and TempData?

0 Answers   Wipro,






what is split entity?

0 Answers   Microsoft,


How we can handle the exception at controller level in ASP.Net MVC?

0 Answers  


What is the common property in .net?

1 Answers   Nth Solution,


Are there any parts of the .net framework 3.0 that only work on windows vista?

0 Answers  


What are Action Filters in ASP.NET MVC and its use?

0 Answers  


In Server how to check whether model has error or not in ASP.Net MVC

0 Answers   B-Ways TecnoSoft,


what is VSS? Where we are using?

3 Answers   TCS,


Categories