Which is faster? FOR, FOREACH, FOREACHDELEGATE, LINQ, or LAMBDA? And what does all that look like against Parallelism?
Well, I don’t have that last answer just yet. But FOR seems to really TANK. I was surprised. The ForEachDelegate’s victory that surprised me.
Here are the results:
This is with Visual Studio 2008 / .Net 3.5 / and my VPC details are: