>>There is Using statement in VB.NET
>>
>>
http://www.pluralsight-training.net/community/blogs/fritz/archive/2005/04/28/7834.aspx>
>
Harold Square wrote re: Using statement in VB.NET 2.0
>on 02-10-2007 5:59 PM
>Thank God you can still go to C++ if you want a modern .net language with destructors, instead of this nonsense of having the human do the error-prone task of being careful to dispose of each item at the correct time.
>
>I'm still baffled that they took such a step backwards with C# -- what were they thinking, that assembler is their goal? :) >Indeed no? What were they thinking.
>
>Thanks Rob, Naomi.
>
>Are you saying then that I don't need to call the dispose method explicitly if I use the "using" syntax?
I believe the answer is Yes.
If it's not broken, fix it until it is.
My Blog