Joe White’s Blog

Life, .NET, and Cats


The latest on the IDisposable pattern

The latest IDisposable best practices, as posted on the FxCop message boards by Nick G of Microsoft. Best explanation I’ve seen yet — I’ve already copied the code samples onto our internal development wiki for future reference.

(But man, that’s a lot of trouble for an interface with just one method!)

4 Responses to “The latest on the IDisposable pattern”

  1. Chris Donnelly Says:

    The link above is now broken.

    Since this is the top hit on Google for "IDisposable pattern", I am adding the relevant links I found on gotdotnet.com that a C# MVP posted in another blog:

    http://dotnet.org.za/ernst/articles/510.aspx

    http://dotnet.org.za/ernst/articles/590.aspx

    # Chris

  2. ??? Says:

    good~

  3. Ernst Kuschke Says:

    Thanks for the link ;o)

  4. Joe White Says:

    Here’s another good resource. It’s extremely thorough. http://www.codeproject.com/useritems/idisposable.asp

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


Joe White's Blog copyright © 2004-2008. Portions of the site layout use Yahoo! YUI Reset, Fonts, and Grids.
Proudly powered by WordPress. Entries (RSS) and Comments (RSS).