Determines whether a Unicode character is a decimal digit.
- c
- A Unicode character.
true if c is a member of the following category in System.Globalization.UnicodeCategory: System.Globalization.UnicodeCategory.DecimalDigitNumber; otherwise, false.
Note: char.IsDigit(char) determines if a Char is a radix-10 digit. This contrasts with char.IsNumber(char), which determines if a char is of any numeric Unicode category.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0