Answer: Use ToTitleCase method.
System.Globalization.CultureInfo.CurrentCulture.TextInfo.ToTitleCase("dotnetfunda.com is a very good website");
The output will be "Dotnetfunda.Com Is A Very Good Website"
Asked In: Many Interviews |
Alert Moderator