Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Equivalent for With (vb.net) in c#
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01019599
Message ID:
01019653
Views:
26
This message has been marked as the solution to the initial question of the thread.
The vb.net "with" is just syntactic sugar for

x = someObject.SomeReferenceToAnotherObject
x.SomeProperty ...

Its just a typing shortcut.


>Hi!, I would like to know what is the equivalent of the "with" statement of vb.net in c#.
>
>Thanks in advance
Previous
Reply
Map
View

Click here to load this message in the networking platform