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

What are the advantages of mvc over asp.net?

752


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

735


What is the .net framework and how does it work?

736


what is scalar property?

808


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

856


Is it possible to create a custom filter?

752


Please explain me what the project manager will ask in the interview.The interview is for senior position in .Net (5 years experience )

2695


Can I remove .net framework?

738


What you mean by routing in asp.net mvc?

733


What is mapping in entity framework? : Entity framework

700


Can I add mvc testcases in visual studio express?

763


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

751


What is the use of web api ? Why web api needed, if you have already restful services using wcf ?

737


What are the main features of asp.net mvc 4 used by asp.net web api?

757


sql related question (outer join, left, right etc) array vs hashtable CRL sqldatareader vs dataset what is WPF, WCF, compare to WinForms Webservices Asp.net MVC vs WebForms?

3178