Scott Dorman

ephemeral segment

  Home  |   Contact  |   Syndication    |   Login
  599 Posts | 10 Stories | 848 Comments | 51 Trackbacks

News


Post Categories

Image Galleries


Microsoft Store


Creative Commons License



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



Support This Site

Tag Cloud


Article Categories

Archives

Post Categories

Image Galleries

I just posted a new article on Code Project that explains the proper way to implement the IDisposable interface and the Dispose pattern.

Implementing IDisposable is something that often times gets skipped over and when it does get implemented, it is usually implemented simply by following the interface template.

Unfortunately, this doesn't cover all of the situations where the class's resources should be released. This article hopes to dispel some of the myths around implementing the Dispose pattern and provides the rules to implement it properly.

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

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
posted on Sunday, August 27, 2006 8:34 PM