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

Answer Posted / kanth

Garbage Collector identifies a unused object using "referce
counting"
reference countiing: how many times the object is used
if the count is zero..its is unuesd....now the gc will
release the resources..

Is This Answer Correct ?    5 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If I have multiple filters implemented, what is the order in which these filters get executed?

520


what is code first approach?

580


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

581


What are the new features 3.5 framework against with the tool?

534


What are Code Blocks in Views?

659






When will the .net framework 3.0 be released?

544


Where are the routing rules defined in an asp.net mvc application?

542


what is ssdl?

676


What is route config?

554


Explain the advantages of dependency injection (di) in asp.net mvc?

564


how do you truncate a table using entity data model?

584


What is Differnce between html.action and ajax.action?

559


Explain the advantage of packaging over xcopy in .net?

542


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

592


Is it possible to unit test an mvc application without running the controllers in an asp.net process?

618