I\'ve got an array of integers, and I\'m looping through them:
for (int i = 0; i < data.Length; i++) { // do a lot of stuff here using data[i] }
Not really sure, but it probably wouldn't hurt to store the value if you are going to use it multiple times. You could also use a foreach statement :)