Shining Arcanine said:W3bbo said:*snip*
One question. Does the condition in the ternary operator on line 75 ever evaluate to true?
By the way, those dots in place of spaces are extremely annoying. They make me feel like I am reading space-less strings instead of what I assume is C# code.
Line 75 has will pick up the result of the (even = !even) assignment as the condition for the ternary operator, so it will flip-flop every iteration. Nicely succinct.