In cases where you work with a collection of objects, `foreach` is better, but if you increment a number, a `for` loop is better.

Note that in the last case, you could do something like:

    foreach (int i in Enumerable.Range(1,10))...

But it certainly doesn't perform better, it actually has worse performance compared to a `for`.