Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Char.IsUpper Method

Definition

Namespace:
System
Assemblies:
mscorlib.dll, System.Runtime.dll
Assemblies:
netstandard.dll, System.Runtime.dll
Assembly:
System.Runtime.dll
Assembly:
mscorlib.dll
Assembly:
netstandard.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Indicates whether a Unicode character is categorized as an uppercase letter.

Overloads

Name Description
IsUpper(Char)

Indicates whether the specified Unicode character is categorized as an uppercase letter.

IsUpper(String, Int32)

Indicates whether the character at the specified position in a specified string is categorized as an uppercase letter.

IsUpper(Char)

Source:
Char.cs
Source:
Char.cs
Source:
Char.cs
Source:
Char.cs
Source:
Char.cs

Indicates whether the specified Unicode character is categorized as an uppercase letter.

public:
 static bool IsUpper(char c);
public static bool IsUpper(char c);
static member IsUpper : char -> bool
Public Shared Function IsUpper (c As Char) As Boolean

Parameters

c
Char

The Unicode character to evaluate.

Returns

true if c is an uppercase letter; otherwise, false.

Remarks

Valid uppercase letters are members of the following category in UnicodeCategory: UppercaseLetter.

See also

Applies to

IsUpper(String, Int32)

Source:
Char.cs
Source:
Char.cs
Source:
Char.cs
Source:
Char.cs
Source:
Char.cs

Indicates whether the character at the specified position in a specified string is categorized as an uppercase letter.

public:
 static bool IsUpper(System::String ^ s, int index);
public static bool IsUpper(string s, int index);
static member IsUpper : string * int -> bool
Public Shared Function IsUpper (s As String, index As Integer) As Boolean

Parameters

s
String

A string.

index
Int32

The position of the character to evaluate in s.

Returns

true if the character at position index in s is an uppercase letter; otherwise, false.

Exceptions

index is less than zero or greater than the last position in s.

Remarks

Character positions in a string are indexed starting from zero.

Valid uppercase letters are members of the following category in UnicodeCategory: UppercaseLetter.

See also

Applies to


Feedback

Was this page helpful?