dotnet string capitalize 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!"