The Ultimate Disposable

added by schalkvanwyk
12/23/2010 12:45:38 AM

0 Kicks, 56 Views

I'm very partial to safe code, so I really like the using() statement in C#. The problem with this statement, however, is that I want to do different things at different times, which require different disposing semantics from the same class.