What is Garbage Collection in .Net and what is the Garbage
collection process?

Answer Posted / gh

Garbage Collector is a process of releasing the memory used
by the objects, which are no longer referenced.
Programmatically Invoking the Garbage Collector by using
GC.Collect () method which is from System.GC class.

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is web.config in .net?

671


Explain me what is an anonymous method and how is it different from a lambda expression?

617


Where does the gac exist ?

656


What is the difference between function and stored procedure?

670


Tell us the differences between an interface and an abstract class in .net?

653






Write a program to create a user control with name and surname as data members and login as method and also the code to call it.

600


Describe session handling in a webform, how does it work and what are the limitations?

666


Write the .net syntax for 'for loop'?

659


Please explain what is the .net framework and how does it work?

600


How can I get at the win32 api from a .net program?

645


What is operator overloading in .net?

702


Explain the difference between constants and read-only variables?

643


Should I implement finalize on my class? Should I implement idisposable?

645


How do you instantiate a complex number?

673


What data providers available in .net to connect to database?

607