how to make just first character in uppercase in c# code example
Example 1: c# string capitalize first letter of each word
//Try TextInfo.ToTitleCase(String) Method
System.Globalization.CultureInfo.CurrentCulture.TextInfo.ToTitleCase("your text");
Example 2: c# capitalize first letter of each word in a string
string s = "THIS IS MY TEXT RIGHT NOW";
s = CultureInfo.CurrentCulture.TextInfo.ToTitleCase(s.ToLower());
Example 3: c# make first letter uppercase
System.Console.WriteLine(char.ToUpper(str[0]) + str.Substring(1));