title: Format Exception when converting string to short C#
body: <p>I'm trying to convert a <code>string</code> to a <code>short</code> in C#.
  But i keep getting a format exception was unhandled error.</p>
  
  <pre><code>short copies = short.Parse(mainForm.quantityBox.Text);
  printDocument.PrinterSettings.Copies = copies;
  </code></pre>
  
  <p>The value in the <code>quantityBox</code> is "1".</p>
  
  <p>The tip that Visual Studio gave me is not really helpfull
  E.G : "when converting a string to datetime parse the string to take the date before putting each variable"</p>