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
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?
What is entitycontainer? : Entity framework
What is viewstart page in mvc?
What are the benefits of .net framework?
Explain RenderBody and RenderPage in ASP.Net MVC?
What are the sub types of ActionResult?
Is entity framework slow?
What are HTML Helpers, AJAX Helpers in ASP.Net MVC?
What is .net framework in simple terms?
Name a few different return types of a controller action method?
When using razor views, do you have to take any special steps to protect your asp.net mvc application from cross site scripting (xss) attacks?
Why to use Html.Partial in ASP.Net MVC?
What is partialview in asp.net mvc?
What is route config?
Explain bundle.config in mvc4?