public static string ToTitleCase(this string s) { TextInfo textInfo = CultureInfo.InvariantCulture.TextInfo; return textInfo.ToTitleCase(s); }