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

What is a razor file?

515


How route table has been created in ASP.NET ASP.Net MVC?

538


Do you know about the new features in ASP.Net MVC 4 ?

582


What is connected scenario? : Entity framework

539


How do you handle variable number of segments in a route definition?

525






How to return the JSON from action method in ASP.Net MVC?

675


Why to use html.partial in mvc?

701


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

527


What are the main components of .net framework?

532


Can you explain renderbody and renderpage in mvc?

566


What is viewdata?

573


What is ViewStart Page in ASP.Net MVC?

559


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

573


how do you mark a property as required? For example, for a project, the name is a required field.

564


What is entity graph? : Entity framework

516