how to check if a string contains more than 2 numbers in c# code example
Example: c# check if string is all numbers
if (str.All(char.IsDigit)) {
// String only contains numbers
}
if (str.All(char.IsDigit)) {
// String only contains numbers
}