How to free the memory that is not used by an object in
garbage collection?

Answer Posted / avinash

Using "GC.Collect();" unused objects can be removed.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does the .net framework 3.0 relate to the .net framework 2.0?

830


What are the difference between asynchronous controller implementation between asp.net mvc 3 & asp.net mvc 4?

845


explain what is ado.net entity framework?

830


When using aspx view engine, to have a consistent look and feel, across all pages of the application, we can make use of asp.net master pages. What is asp.net master pages equivalent, when using razor views?

782


Which version of the common language runtime (clr) does the .net framework 3.0 use?

817


Which approach provides better support for test driven development - asp.net mvc or asp.net webforms?

762


What is difference between html.beginform and ajax.beginform?

812


Explain how you can send the result back in JSON format in MVC?

788


What you mean by routing in mvc?

866


What are the sub types of ActionResult?

855


Are there any parts of the .net framework 3.0 that only work on windows vista?

843


What is associationset? : Entity framework

827


Is entity framework slow?

800


Can we have enum in entity framework?

846


What is the difference between ViewData, ViewBag and TempData?

868