Reputation: 18295
I want to get the value of my integer array, at an index. The GetValue method refuses the int type.
What am I doing wrong?
return locX.GetValue(Ind);
Ind is an integer, locX is declared like: public int[] locX;
I know I am doing SOMETHING wrong. Sorry for the noobiness of this question, I am kinda new to c#.
Upvotes: 0
Views: 169