hwo to check if a char is a letter in c# code example
Example 1: c# check if char is string
if (abc.ToLower().IndexOf('s') != -1) { }
Example 2: c# check characters in string
errorCounter = Regex.Matches(yourstring,@"[a-zA-Z]").Count;
if (abc.ToLower().IndexOf('s') != -1) { }
errorCounter = Regex.Matches(yourstring,@"[a-zA-Z]").Count;