title: char.IsNumber()
body: <p>I am building a Windows Form application. I use <code>char.IsNumber()</code> to check the key pressed is a number or not: </p>
  
  <pre><code>   private void AmBox_KeyPress(object sender, KeyPressEventArgs e)
     {
         if(char.IsNumber(e.KeyChar))
             e.Handled=true;
     }
  </code></pre>
  
  <p>MSDN says that <code>char.IsNumber()</code> checks a key char is number or not, so if it is a number it returns true. From what I've seen, the result is reversed - it ignores numbers(1,2,3....) instead of characters(A,a,b,c...). </p>
  
  <p>I can solve the problem if I use <code>!char.IsNumber();</code> but I can't understand what this method <code>char.IsNumber()</code> does. Could someone kindly explain in detail?</p>