This is a neat little tip from Eric Gunnerson about the SafeHandle class that is shipping in Whidbey. Its a wrapper for operating system handles which help ensure that unmanaged resources are released. Daniel Moth also posted up in the comments witha more complete coverage on the BCL Team’s blog.
I didn’t pick this up when they first posted it – glad I know about it now!
posted on Tuesday, August 16, 2005 10:49 PM