How to use int.TryParse with nullable int?
<p>I am trying to use TryParse to find if the string value is an integer. If the value is an integer then skip foreach loop. Here is my code.</p>

<pre><code>string strValue = "42 "

 if (int.TryParse(trim(strValue) , intVal)) == false
 {
    break;
 }
</code></pre>

<p>intVal is a variable of type int?(nullable INT). How can I use Tryparse with nullable int?</p>

<p>Thanks..</p>
