Skip to content

UpperFirst Method ​

Definition ​

  • Namespace: JASE.Extensions
  • Assembly: JASE.Primitives.dll

string UpperFirst(string input) ​

csharp
string UpperFirst(string input)

Converts the first character of the string to uppercase using invariant culture, leaving the remainder unchanged.

Parameters ​

NameDescription
inputThe input string. Must not be null or empty.

Returns ​

A new string with the first character uppercased.