Sorry, I really did try to search, but it doesnt work with common words like With.
In VB you write:
basically means that when you throw a dot down, it assumes you typed that statement. Similar to Using, but only for short periods of times. Keeps you from having to type out a large line of code 12 times (or Copy & Pasting it) just to change 12 settigns in an object.
does something like this exist in C#?
In VB you write:
Code:
With dtDataTable.Columns(1)
End With
basically means that when you throw a dot down, it assumes you typed that statement. Similar to Using, but only for short periods of times. Keeps you from having to type out a large line of code 12 times (or Copy & Pasting it) just to change 12 settigns in an object.
does something like this exist in C#?