title: How to test if an input value = char A - Z in C#
body: <pre><code> while (asteriskWord != hangCharacters &amp;&amp; score &lt; 5)
   {               
        while ( letter != ) //This is where I want to test for A-Z a-z
        { 
            Console.WriteLine("Enter a letter please");
            letter = Convert.ToChar(Console.ReadLine());
        }
   }   
  </code></pre>
  
  <p>After the first <code>while-loop</code> I want to be able to place the input inside of a while loop that breaks if the value is = letters <strong>A-Z or a-z</strong>. </p>
  
  <p>This is so that if the user enters the wrong information, the loop will <code>continue</code> to ask for the information. </p>
  
  <p>Thank you for your time and consideration. Also I tried doing letter != 'A' &amp;&amp; letter != 'a'...... and so on, but it didn't work for some reason.</p>