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

Answer Posted / bharani

GC identifies the objects which are not in use by the use
of generations. Whenever a new object is created or deleted
GC sweeps the heap by moving the variables to different
generations, and finally destructs the objects whichever
belongs to generation 0.

Is This Answer Correct ?    7 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between Partial View and Display Template and Edit Templates in ASP.Net MVC?

776


What is .net architecture?

726


Explain RenderBody and RenderPage in ASP.Net MVC?

786


How to update one of my table in database at 4pm every day how it is possible?

743


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

733






Can I set the unlimited length for "maxjsonlength" property in config?

741


What is viewbag title?

679


What is ado.net data provider? : Entity framework

759


What is page life cycle?

689


What is a view engine?

741


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

716


mention what are the various methods provided by the dataset object to generate xml?

788


What is the difference between ViewData, ViewBag and TempData?

810


What is the greatest advantage of using asp.net mvc over asp.net webforms?

718


List the new features added in .net framework 4.0.

689