Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP's With...EndWith equivalent in C# ?
Message
From
16/04/2007 15:46:23
 
 
To
16/04/2007 05:27:21
Handi Rusli
PT. Alam Sumbervita
Jakarta, Indonesia
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01216132
Message ID:
01216460
Views:
16
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform