Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
With endwith - wish c# have it
Message
De
05/04/2007 16:28:49
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
05/04/2007 16:25:16
John Baird
Coatesville, Pennsylvanie, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01212672
Message ID:
01212694
Vues:
14
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform