Is there a method to do that? Could it be done with an extension method?
I want to achieve this:
string s = "foo".CapitalizeFirstLetter(); // s is now "Foo"
System.Globalization.CultureInfo.CurrentCulture.TextInfo.ToTitleCase
It has the advantage of being culture-safe.