SyntaxFix
Write A Post
Hire A Developer
Questions
Use regular expression no need to convert it to char array
if(Regex.IsMatch("yourString",".*?[a-zA-Z].*?")) { errorCounter++; }