Posted By

emregulcan on 03/05/10


c upper to VBNet convert lower titlecase

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Convert LowerCase and UpperCase to TitleCase in .NET

 / Published in: C#


  1. string strLow = "lower case";
  2. string strT = CultureInfo.CurrentCulture.TextInfo.ToTitleCase(strLow);
  3. Console.WriteLine("Lower Case to Title Case: " + strT);
  5. string strCap = "UPPER CASE";
  6. strT = CultureInfo.CurrentCulture.TextInfo.ToTitleCase(strCap.ToLower());
  7. Console.WriteLine("Upper Case to Title Case: " + strT);

Report this snippet  


RSS Icon Subscribe to comments
Posted By: Jacky888 on October 22, 2018

the 8 best rated air purifier for smoke airpurifiers-review

You need to login to post a comment.