title: C# testing to see if a string is an integer?
body: <p>I'm just curious as to whether there is something built into either the C# language or the .NET Framework that tests to see if something is an integer</p>
  
  <pre><code>if (x is an int)
     // Do something
  </code></pre>
  
  <p>It seems to me that there might be, but I am only a first-year programming student, so I don't know.</p>