string str = "EXTERNAL"; str = new string(str.Select((c, index) => index == 0 ? char.ToUpper(c) : char.ToLower(c)).ToArray()); Console.WriteLine(str); // output: External
A new type of spam for Google Analytics, will Google do something for this? Related discussion: http://moz.com/community/q/ga-event-t...
string str = "EXTERNAL"; str = new string(str.Select((c, index) => index == 0 ? char.ToUpper(c) : char.ToLower(c)).ToArray()); Console.WriteLine(str); // output: External