The CLRs garbage collector does a great job of managing managed memory, but component and application developers often have to deal with unmanaged resources such as unmanaged memory, file handles, and database connections. This episode with Brad Abrams introduces the IDisposable pattern, which is a proven strategy for dealing with unmanaged resources.
|