1 2 3 4 5 6 7 8 9 10
for (int i = 0; i < 3;i++) { for (int j = i; j < arrOne.Length; j++) { if (arrOne[j] > max) { max = arrOne[j]; maxIndex=j; } }