Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
With endwith - wish c# have it
Message
From
05/04/2007 16:52:12
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
05/04/2007 16:49:09
John Baird
Coatesville, Pennsylvania, United States
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01212672
Message ID:
01212715
Views:
10
And I really wished I missed an existing feature:)
Cetin

>LOL.. it has been a LONG day.. I meant to type using and typed with instead. Sorry, you are absolutely correct.
>
>
>javascript:MessageSubmit()
>[Save this message so it will appear for other members immediately]
>>>However, it does support the WITH object command that automatically disposes of the object when the enclosed statements have finished..
>>>
>>>
>>>StreamReader sr = new StreamReader()
>>>WITH sr
>>>{
>>>  a bunch of commands here.
>>>}
>>>
>>>
>>>
>>>
>>>
>>>>>I was trying to use the with...endwith but I gues c# does not support it.
>>>>
>>>>No.
>>>>Cetin
>>
>>Hmm this is new to me. I knew using ...{} but not this. Does this work as with...endwith? Can you point to some documentation?
>>Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform