title: How to check if a number is an integer in .NET?
body: <p>Say I've got a string which contains a number. I want to check if this number is an integer.</p>
  <h3>Examples</h3>
  <pre><code>IsInteger(&quot;sss&quot;) =&gt; false 
  
  IsInteger(&quot;123&quot;) =&gt; true
  
  IsInterger(&quot;123.45&quot;) =&gt;false
  </code></pre>