how to use with and end with statement in c#?
Printable View
how to use with and end with statement in c#?
There's no such thing as With in C#. You can assign a reference to a local variable and then access that multiple times if you need to avoid evaluating the same expression multiple times, otherwise there's no genuine need for it.