Tell me about the internal working of Garbage collector?
Answer
Internally GC Frees the memory means The objects which are
not used from long time onwords it delets the objects and
frees the memory to place the new objects which are going
to be used.
How Garbage Collector identifies the objects which are not
in use?
Answer
In the Dotnet CLR maintains the Heap. It stores the Objects
which are recently used in the Top of the Heap. By using
this GC identifies the objects which are recently used and
which are not in use.