Scott Dorman

ephemeral segment

  Home  |   Contact  |   Syndication    |   Login
  570 Posts | 10 Stories | 640 Comments | 51 Trackbacks

News


Post Categories

Image Galleries



Creative Commons License


Microsoft MVP


MCP Profile


Locations of visitors to this page

Subscribers to this feed

TwitterCounter for @sdorman

View blog authority

Add to Technorati Favorites

Windows Live Alerts

AddThis Social Bookmark Button

LinkedIn profile

Community Credit profile

The Code Project

Follow me on Twitter

Get Free Shots from Snap.com

Community Credit Hall of Fame

Get Feedghost

Xobni outlook add-in for your inbox

Windows Live Translator


Support This Site

Tag Cloud


Article Categories

Archives

Post Categories

Image Galleries

My article on how to properly implement the IDisposable interface and the Dispose pattern has been very well received. There have been several comments that prompted me to review the article against the Framework Design Guidelines, and specifically against the updates made by Joe Duffy.

In doing this, not only have I learned a few new things about how the whole garbage collection process works, but I also discovered that some of the statements made in my article were incorrect.

This is discouraging for me in two ways. First, it means that everyone reading the article is getting false information. However, it also means that the original sources I used for the article were wrong as well. Some of those authors are very well respected in the .NET development community at Microsoft (in fact, at least one has helped design the Framework with Anders).

As soon as I discovered the discrepancies I went to work on updating the article, which turned in to an almost complete rewrite. (The article actually went from about 7 printed pages to 21!)

Despite the fact that the article expanded so much, I hope it is still serves as a good beginners guide to implementing the Dispose pattern properly.

[Update, 22-Jan-2008: Updated the article link for Code Project.]

posted on Friday, September 01, 2006 8:08 AM