Ian Griffiths: "You can't just leave everything to the GC"

In another follow-up to the thread I mentioned in my previous post, Ian Griffiths talks about some common misunderstandings about how .NET’s Garbage Collector works and how you interact with it via IDisposable.  In this reply he also mentions:

The two widely believed GC falsehoods: "I don't have to free stuff - the GC does it for me" and "The GC calls Dispose" - are two of the biggest barriers to understanding and working effectively with non-memory resources.

No Comments