Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP's With...EndWith equivalent in C# ?
Message
De
16/04/2007 15:46:23
 
 
À
16/04/2007 05:27:21
Handi Rusli
PT. Alam Sumbervita
Jakarta, Indonésie
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01216132
Message ID:
01216460
Vues:
18
>Just simple & straightforward question :-)
>I dreamed about using With..Endwith in C# like :
>Is that only happened in my dream ? :-p

Hi Handi,

I remember reading an interview with one of the guys from the C# team a few years ago. When asked whether they'd add "with" to C#, he's reply was "over my dead body". :)

Like others have said here, with intellisense in VS 2005, the "with" block makes less sense. Also, "with" makes the code harder to read (I like it better to just create a variable that stores a reference to whatever I'd have on the "with" block).
Claudio Lassala
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform