Windows Dev Center

Char.ToUpper Method (Char)

Converts the value of a Unicode character to its uppercase equivalent.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

public static char ToUpper(
	char c
)

Parameters

c
Type: System.Char
A Unicode character.

Return Value

Type: System.Char
The uppercase equivalent of c, or the unchanged value of c if c is already uppercase, has no uppercase equivalent, or is not alphabetic.

Casing rules are obtained from the current culture.

Use String.ToUpper to convert a Char to uppercase.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft