Method IsAllDigits
IsAllDigits(String)
Determines whether value contains only numeric digits.
Declaration
public static bool IsAllDigits(this string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value | The string to check the contents of. |
Returns
| Type | Description |
|---|---|
| System.Boolean |
|
Remarks
If value is an empty string the return value is false.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | Thrown if |