title: C# - better ways to validate if a string is a number other than int.TryParse()?
body: <p>I find myself often needing to use <code>int.TryParse()</code> to test if a value is an integer. However, when using TryParse, I have to pass a reference variable to the function. So I find myself always needing to create a temp int to be passed in. Usually it looks something like:</p>
  
  <p><code>int my_temp_integer;</code></p>
  
  <p><code>int.TryParse(potential_integer, my_temp_integer);</code></p>
  
  <p>I find this to be quite cumbersome considering that all I want is a simple true/false response, and I don't care about the actual parsed result. Is there a better way to approach this? Why isn't there an overloaded function where I can just pass the value I want to test and get a true/false response?</p>
  
  <p>Thanks.</p>