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

mention what is csdl, ssdl and msl sections in an edmx file?

577


What is a razor file?

530


Explain RenderBody and RenderPage in ASP.Net MVC?

593


Which approach provides better support for test driven development - asp.net mvc or asp.net webforms?

508


What is meant by bootstrap in mvc5?

641






Is .net framework dead?

539


Why is the .net framework 3.0 a major version number of the .net framework if it uses the .net framework 2.0 runtime and compiler?

564


Explain bundle.config in mvc4?

647


Is razor a server side?

528


How large is the .net framework 3.0?

558


How to make sure Client Validation is enabled in ASP.Net MVC

564


What is routeconfig.cs in mvc 4?

647


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

627


Which is the root namespace for fundamental types in .net framework?

567


What is razor code?

598