title: C# Check if ConsoleKeyInfo.KeyChar is a number
body: <pre><code>ConsoleKeyInfo CKI = Console.ReadKey(true);
  </code></pre>
  
  <p>CKI.KeyChar is the unicode equivalent of the character input
  So if I'd press '1' in the console prompt CKI.KeyChar would be 49, not the value '1'.</p>
  
  <p>How do I get the value '1'? </p>
  
  <p>I know its a devious way of getting the input, but its the way my teacher wants it so I cant do it otherwise.</p>
  
  <p>Edit: I need the value that the user gave, because I'm going to have to check if its less than 9</p>