If somebody like the post and its helpful in your work then, add comments.

Monday, January 5, 2009

To make First Character in String Capital

Use using System.Globalization namespace

and Add following code
TextInfo userTextInfo = new CultureInfo("en-US", false).TextInfo;
string capitalized = userTextInfo.ToTitleCase(stringYourString);

No comments:

Post a Comment