Checking if ASCII is in two ranges
<pre><code>byte[] ASCIIValues = Encoding.ASCII.GetBytes(myInput);    
while (I &lt; ASCIIValues.Length)
{
    {
        if ((ASCIIValues[I] &gt; 65 &amp; ASCIIValues[I] &lt; 90) || (ASCIIValues[I] &gt; 97 &amp; ASCIIValues[I] &lt; 122))
        {

        }
        ASCIIValues[I] = 32;
    }
    Console.WriteLine(ASCIIValues[I]);
    I++;
}
</code></pre>

<p>This is what I have now and I am trying to make sure the string the user enters (my Input) is within the ranges of being a letter only. I am trying to remove all punctuation and special characters as well as numbers. I is equal to 0 and is used to iterate through the array. Changing all unwanted characters to a space is because further down in my code I am removing the spaces anyway. </p>

<p>When running the code every returned ASCII value is <code>32</code>. This makes no sense as letters should return the corresponding ASCII value.</p>
