On 9/18/12, Andrej Mitrovic <andrej.mitrovich at gmail.com> wrote: > foreach (aa, bb; lockstep(arr1, arr2)) > { > if (aa == sentinel) > { > if (aa % 2 == 0) Gah I've messed up the simple example. If aa was a sentinel then it meant I wouldn't check it at all, I'd try to check 'bb' instead.