Tag: IsDigit

How to find if the character entered is Digit in C# ?

The Char class provides a method Char.IsDigit that lets you find if the character entered in the specid string is a digit or not. How to find if the character entered is Digit in C# ? Below is a sample code demonstrating the Char.IsDigit to find if the character entered is Digit in C#.