dealing with a variable of short data type
<p>I am have a method in which the parameter I am receiving is "rowno" which is of type short.
The code is as shown below.</p>

<pre><code>private int abcd (int a , short rownum)
{
    // method body
}
</code></pre>

<p>Now my query is this. Inside the method I have to perform some logic when the value of 
rownum is 5 , so I am trying like this</p>

<pre><code>if (rowno == 5)
{
     //perform some operation

}
</code></pre>

<p>Please advise me whether this the correct approach for short type.</p>
