Method FirstToUpper
FirstToUpper(string)
Capitalizes the first letter of a string.
Declaration
public static string FirstToUpper(this string str)
Parameters
| Type | Name | Description |
|---|---|---|
| string | str | String to be capitalized. |
Returns
| Type | Description |
|---|---|
| string | The new string. |