July 2008 Archives
Although very handy, C#'s foreach statement is actually quite dangerous.
In fact, I may swear off its use entirely. Why? Two reasons: (1) performance, and
(2) predictability.
Continue reading C#: The Dangers of Foreach.