I think you are not stating the question correctly and i think the question is more like Give a generalization of Garbage Collection e.g. what is garbage collection.
Basically, the GC checks to see if there are objects on the heap that are no longer being used and if they aren't, that memory on the heap is reallocated.
MSDN Article:
http://msdn.microsoft.com/msdnmag/issues/1100/gci/
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for:
Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========