Char.IsDigit Method

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member IsDigit(Char) Indicates whether the specified Unicode character is categorized as a decimal digit.
Public method Static member IsDigit(String, Int32) Indicates whether the character at the specified position in a specified string is categorized as a decimal digit.
Top

Valid digits are members of the UnicodeCategory.DecimalDigitNumber category.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft