How to convert a sentence into Title Case (Capitalize first character of every word)?

 Posted by Raja on 9/6/2008 | Category: C# Interview questions | Views: 10502

Use ToTitleCase method.
System.Globalization.CultureInfo.CurrentCulture.TextInfo.ToTitleCase(" is a very good website");

The output will be "Dotnetfunda.Com Is A Very Good Website"

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response