check if char is letter c# code example
Example 1: c# check characters in string
errorCounter = Regex.Matches(yourstring,@"[a-zA-Z]").Count;
Example 2: c# check characters in string
//true if it doesn't contain letters
bool result = hello.Any(x => !char.IsLetter(x));