Since I like to Split() strings, I usually use
new char[] { ';' }
or something like that for a parameter for Split().
Is there any shortcut for creating a character array with one element at compile time? Not that I mind typing, but...
Since I like to Split() strings, I usually use
new char[] { ';' }
or something like that for a parameter for Split().
Is there any shortcut for creating a character array with one element at compile time? Not that I mind typing, but...