Jim, it's A reason, but hardly killer app. IMHO joe
>> (BTW, this is a great reason to use C#!) >>Jim > -----Original Message----- > From: Henrik Enemark Rasmussen [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 01, 2002 4:54 PM > To: [EMAIL PROTECTED] > Subject: Re: [DOTNET] From C# to VB.NET > > > No, I don't think it's "with". > > From MSDN: "You create an instance in a using statement to ensure that > Dispose is called on the object when the using statement is > exited. A using > statement can be exited either when the end of the using statement is > reached or if, for example, an exception is thrown and > control leaves the > statement block before the end of the statement." > > - Henrik > > > -----Original Message----- > > From: Mathieu Rachlin [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, May 01, 2002 10:46 PM > > To: [EMAIL PROTECTED] > > Subject: Re: From C# to VB.NET > > > > > > Perhaps you mean "with" ? > > > > Like: > > > > With oSomething > > > > .Property = "abc" > > .Method("def") > > > > End With > > > > ??? > > > > - Mat > > > > -----Original Message----- > > From: Henrik Enemark Rasmussen [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, May 01, 2002 4:40 PM > > To: [EMAIL PROTECTED] > > Subject: [DOTNET] From C# to VB.NET > > > > > > Hello All > > > > What is the VB.NET equivalent to the C# 'using' statement > > (not the 'using' > > directive) ? > > > > Regards > > Henrik > > > > You can read messages from the DOTNET archive, unsubscribe > > from DOTNET, or subscribe to other DevelopMentor lists at > > http://discuss.develop.com. > > > > You can read messages from the > > DOTNET archive, unsubscribe from DOTNET, or subscribe to > > other DevelopMentor lists at http://discuss.develop.com. > > > > You can read messages from the DOTNET archive, unsubscribe > from DOTNET, or > subscribe to other DevelopMentor lists at http://discuss.develop.com. > You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.