Posts Tagged ‘string’

C#: string.ToUpper() and char.ToUpper()

November 16th, 2011

In C# there is a

"mystring".ToUpper()

but nothing in the char class.  Instead use

char.ToUpper('x')

… or write an extension method.