Automatic Disposing

Learn to use the using statement and using declarations to automatically and safely dispose of unmanaged resources.

To robustly call the Dispose method, we enclose resource usage within a try and finally block.