Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Object Lifetime » Garbage Collector   (RSS)

A good reason for calling GC.Collect()

You've probably heard that you should not call GC .Collect() and generally speaking this is absolutely correct. Yes, there are probably exceptions to that rule but unless you know for sure that calling GC .Collect() will improve the runtime behavior of
 
Page view tracker