A
Andreas =?ISO-8859-1?Q?M=FCller?=
Hi,
I was wondering, if there is something similar in VB.NET like the using
statement in C#. What it does is to automatically call Dispose on the
object decrared with in the statement when the block exits.
using (MyBoj)
{
}// MyObj.Dispose is called
Thanks in advance,
Andy
I was wondering, if there is something similar in VB.NET like the using
statement in C#. What it does is to automatically call Dispose on the
object decrared with in the statement when the block exits.
using (MyBoj)
{
}// MyObj.Dispose is called
Thanks in advance,
Andy