title: If statement using numbers and && is not working. C#
body: <p>I wrote this and it is not working, any ideas where I have gone wrong? And yes I am new to programming. Thanks in advance for any suggestions.         </p>
  
  <pre><code>if ((int.Parse(Console.ReadLine()) &lt; 10) &amp;&amp; (int.Parse(Console.ReadLine()) &gt; 0))
      Console.WriteLine("The right number!!");
  else
      Console.WriteLine("The wrong number!!");
  
  Console.ReadLine();
  </code></pre>