Implementing IDisposable

June 22, 2010

There’s a bit more to implementing IDisposable than closing a resource in the Dispose method. I can never remember the pattern exactly as Microsoft recommends, so this is a link to Microsoft’s example: http://msdn.microsoft.com/en-us/library/system.idisposable.aspx

Advertisements