I have a string that I converted to a TextInfo.ToTitleCase and removed the underscores and joined the string together. Now I need to change the first and only the first charact
public static string CamelCase(this string str) { TextInfo cultInfo = new CultureInfo("en-US", false).TextInfo; str = cultInfo.ToTitleCase(str); str = str.Replace(" ", ""); return str; }
This should work using System.Globalization