What, if any, is the performance difference between the following two loops?
for (Object o: objectArrayList) { o.DoSomething(); }
and <
The only way to know for sure is to benchmark it, and even that is not as simple as it may sound. The JIT compiler can do very unexpected things to your code.