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

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

760


what is entity graph in entity framework?

824


What are the 3 main components of an asp.net mvc application?

744


Explain the methods used to render the views in ASP.Net MVC?

840


What is main objective of asp.net mvc 4 or what is new in mvc4 ?

814


What is edm (entity data model)? : Entity framework

730


What are the 3 segments of the default route, that is present in an ASP.NET MVC application?

802


Explain the difference between Viewbag and Viewdata in ASP.NET MVC?

782


What is ViewData and TempData in ASP.Net MVC?

771


How can I tell what .net framework is installed?

708


What are the components required to create a route in ASP.Net MVC?

792


Difference between ASP.NET MVC and ASP.NET WebForms?

784


Mention some action filters which are used regularly in ASP.Net MVC?

748


Which is the default http method for an action method?

682


What is the advantage of using asp.net routing?

792