In C#/VB.NET/.NET, which loop runs faster, for or foreach?
for
foreach
Ever since I read that a for loop works faster than a foreach
You can really screw with his head and go for an IQueryable .foreach closure instead:
myList.ForEach(c => Console.WriteLine(c.ToString());