Getting the value of an int array at an index in c#
<p>I want to get the value of my integer array, at an index. The GetValue method refuses the int type.</p>

<p>What am I doing wrong?</p>

<pre><code>return locX.GetValue(Ind);
</code></pre>

<p>Ind is an integer, locX is declared like: <code>public int[] locX;</code></p>

<p>I know I am doing SOMETHING wrong. Sorry for the noobiness of this question, I am kinda new to c#.</p>
