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

Explain JSON Binding?

621


How to change the action name in mvc?

549


What is asp net framework?

518


What are authentication filters in web api?

577


Where is tempdata stored?

549






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

564


What is the use of action filters in an mvc application?

610


why DotNetFramework is included in building a software

2219


What is entitycontainer? : Entity framework

583


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

622


Explain the role of assembly in the .net framework.

570


Does .NET Framework support SAX?

568


What is session state management?

567


Explain what is routing?

520


What is entity framework used for?

519