Tag Archives: while loop

Compare loop performance in C#

The Code Project post FOREACH Vs. FOR (C#) examines the IL code created for a C# foreach loop and a for loop to compare loop performance. The author notices some unnecessary statements in the foreach loop and therefore concludes that … Continue reading

Posted in performance, syntax | Tagged , , , , , , , , , , , | Leave a comment