can anyone send me the llink for garpage collector working principle..when we use fimalize and when we use dispose method in c# .net plz

Garbage collection is the most powerful feature of the automatic memory management. You do not need to take care of the mumbo jumbo of creating and then destroying the objects. GC runs indefinitely, whenever system thinks it is time to collect the garbage !! :) However, you can also trigger it to run using static function GC. Collect();