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!)
November 29th, 2006 at 6:33 am
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
December 5th, 2006 at 5:43 pm
good~
December 13th, 2006 at 12:40 am
Thanks for the link ;o)
December 31st, 2006 at 1:46 pm
Here’s another good resource. It’s extremely thorough. http://www.codeproject.com/useritems/idisposable.asp