Return to Snippet

Revision: 24604
at March 5, 2010 01:24 by emregulcan

Initial Code
string strLow = "lower case";  
string strT = CultureInfo.CurrentCulture.TextInfo.ToTitleCase(strLow);
Console.WriteLine("Lower Case to Title Case: " + strT);

string strCap = "UPPER CASE"; 
strT = CultureInfo.CurrentCulture.TextInfo.ToTitleCase(strCap.ToLower());
Console.WriteLine("Upper Case to Title Case: " + strT);

Initial URL

Initial Description

Initial Title
Convert LowerCase and UpperCase to TitleCase in .NET

Initial Tags
c, convert

Initial Language