How Garbage Collector identifies the objects which are not
in use?

Answer Posted / anirudh menon

C# makes use of the Finilize() destructor for this purpose.
The CLR periodically checks the entire program for unused
objects using the refrence tracing garbage collector which
in turn invokes he Finilze() destructor to relese the
memory of such objects.

Is This Answer Correct ?    3 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

explain why t4 entity is important in entity framework?

560


What are ajax helpers in mvc?

515


How we can call a javascript function on the change of a dropdown list in mvc?

569


How does work clr?

529


What is the difference between viewbag and viewdata in asp.net mvc?

615






What is ado.net data provider? : Entity framework

562


explain what is ado.net entity framework?

568


What are the 2 ways of adding constraints to a route?

548


How large is the .net framework 3.0? Does this change make the release larger?

552


What is viewstart page in mvc?

570


Explain RenderBody and RenderPage in ASP.Net MVC?

591


Explain tempdata in mvc?

562


What is the use of action filters in an mvc application?

605


What is RouteConfig.cs in ASP.Net MVC 4?

575


What is the version number for the next version of the .net framework, codenamed �orcas�?

481