how to capitalize a string in c# code example
Example: capitalize c#
string input = "hello!";
Console.Write(char.ToUpper(input[0]) + input.Substring(1))
//prints "Hello!"
string input = "hello!";
Console.Write(char.ToUpper(input[0]) + input.Substring(1))
//prints "Hello!"