Mono Class Library: System.Char Overview | Members

System.Char.IsDigit Method

Determines whether a Unicode character is a decimal digit. [Edit]

public static bool IsDigit (char c)

Parameters

c
A Unicode character. [Edit]

Returns

true if c is a member of the following category in System.Globalization.UnicodeCategory: System.Globalization.UnicodeCategory.DecimalDigitNumber; otherwise, false. [Edit]

Remarks

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.
[Edit]

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0