10.09.2012, 15:40
@Roach_: The foreach loop is a loop as well, so naming the loop version 'loop version' is a bit wrong naming convention. The second example is just a nested for loop.
Also: isn't it possible to have a foreach in a foreach?
Also: isn't it possible to have a foreach in a foreach?

