title: C# - failed parse exception?
body: <p>I am  writing a program in C#, and I want to catch exceptions caused by converting &quot;&quot; (null) to int. What is the exception's name?</p>
  <p><strong>EDIT:</strong>
  I'm not sure I can show the full code... But I'm sure you don't need the full code, so:</p>
  <pre class="lang-cs prettyprint-override"><code>int num1 = Int32.Parse(number1.Text);
  int num2 = Int32.Parse(number2.Text);
  </code></pre>