You said:
…inside of the loop, you have no way of knowing what index, specifically, you are currently at….
There is an easy way to see what Index# your at within the ForEach loop….I used your HighScore example and bumped it up to start at 1 instead of 0(which is the first Index #)
int scoreNumber = 1;
int[] scores = { 50, 100, 12000, 3322, 500, 345, 9990, 256, 1144, 769 };
foreach (int score in scores)
{
Console.WriteLine("HighScore #{0} = " + score,scoreNumber);
scoreNumber++;
}
pretty simple (^8