0

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

3
Contributors
2
Replies
3
Views
8 Years
Discussion Span
Last Post by thewebhostingdi
0

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();

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.