Question { 3706 }
when will garbage collector run?
Answer
when the object was not used it was thrown to the garbage
collector.this has to be done by CLR which behaves like a
runtime for .net like java virtual machine for java.
we can force the garbage collector to run also.
syntax:system.gc.collect();