The Dispose Pattern: Using Blocks
We introduce the using statement as syntactic sugar for a try/finally block that guarantees Dispose is called when a scope exits, discuss how the compiler uses the IDisposable interface, and summarize when the finalizer fallback is needed and when it can be safely ignored.