In my "native" programming language (RPG), I can write a loop and just leave the loop or force an iteration. It is kind of like a GOTO.
dow (x < 999);
read file;
if (%eof);
leave; // Leave the loop
endif;
if (field <> fileField);
iter; // Iterate to the next record
endif;
enddo;
My question is if there is a similar option is C#. In my case, I am working with a foreach loop.