C# foreach and Dispose revisited

Security Briefs

Syndication

Chris kindly pointed out that my previous post was completely asinine. I have been so deep in System.DirectoryServices lately, where just about every damn object you get needs to be Disposed.

Keith would kindly like to retract his previous post from your inbox :-)

Ryan pointed out an example of this sort of thing after I posted, which means at least one other person in the world is feeling my pain :-)


Posted Jun 23 2005, 01:17 PM by keith-brown
Filed under:

Comments

Michael wrote re: C# foreach and Dispose revisited
on 06-24-2005 4:07 AM
I was thinking about your last post and I was going to say something, but you someone beat me to it.

Oh well, glad you repented.
Sean Chase wrote re: C# foreach and Dispose revisited
on 06-24-2005 3:30 PM
Forget "glad you repented" Keith, it's nice to know that smart guys like you make mistakes and are human too! :-)

Add a Comment

(required)  
(optional)
(required)  
Remember Me?