[tip] string.Split(',')

Why bother with

myString.Split(new Char[] {','})
when you can type
myString.Split(',')

I felt dumb for having missed this, but all the sample code I've seen since then (including on MSDN) always uses the new Char[] {','} syntax.

Thanks, Scott, for correcting my previous post complaining about this syntax.

2 Comments

Comments have been disabled for this content.