title: int.TryParse = null if not numeric?
body: <p>is there some way of return null if it can't parse a string to int?</p>
  
  <p>with:</p>
  
  <pre><code>public .... , string? categoryID) 
  {
  int.TryParse(categoryID, out categoryID);
  </code></pre>
  
  <p>getting "cannot convert from 'out string' to 'out int'</p>
  
  <p>what to do?</p>
  
  <p>EDIT:</p>
  
  <p>No longer relevant because of asp.net constraints is the way to solve problem</p>
  
  <p>/M</p>