title: How to check if a String contains any letter from a to z?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/6017778/c-sharp-regex-checking-for-a-z-and-a-z">C# Regex: Checking for “a-z” and “A-Z”</a>  </p>
  </blockquote>
  
  
  
  <p>I could just use the code below:</p>
  
  <pre><code>String hello = "Hello1";
  Char[] convertedString = String.ToCharArray();
  int errorCounter = 0;
  for (int i = 0; i &lt; CreateAccountPage_PasswordBox_Password.Password.Length; i++) {
      if (convertedString[i].Equals('a') || convertedString[i].Equals('A') .....
                              || convertedString[i].Equals('z') || convertedString[i].Equals('Z')) {
          errorCounter++;
      }
  }
  if(errorCounter &gt; 0) {
      //do something
  }
  </code></pre>
  
  <p>but I suppose it takes too much line for just a simple purpose, I believe there is a way which is much more simple, the way which I have not yet mastered.</p>