IsDigit Method

Char.IsDigit Method

 

Indicates whether a Unicode character is categorized as a decimal digit.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticIsDigit(Char)

Indicates whether the specified Unicode character is categorized as a decimal digit.

System_CAPS_pubmethodSystem_CAPS_staticIsDigit(String, Int32)

Indicates whether the character at the specified position in a specified string is categorized as a decimal digit.

Valid digits are members of the UnicodeCategory.DecimalDigitNumber category.

Return to top
Show:
© 2016 Microsoft