wankilohertz:viperxp, I'm using VB.NET (VB7, .NET 1.1), dont have the using command. But things should be disposed after gone out of scope. I can rely on the out of context dispose, can I? Whats the use of GC if we have to clear up the mess ourself :)
Hi wankilohertz,
I see, i was probably skipping lines then... didn't realize that you are on VB.NET. Forget about the using command then. While context disposal does work, I think we should not rely entirely on it. Note that we cannot predict when GC is going to run. I believe that disposing disposable objects ASAP is good, as this helps to optimize resource usage and maximize resource availability. ;)