質問
私の「ネイティブ」ではプログラミング言語(RPG)の場合、ループを作成して、ループを終了するか、繰り返しを強制できます。 GOTOのようなものです。
dow (x < 999);
read file;
if (%eof);
leave; // Leave the loop
endif;
if (field <> fileField);
iter; // Iterate to the next record
endif;
enddo;
私の質問は、同様のオプションがC#であるかどうかです。私の場合、foreachループを使用しています。
解決
continue; // Goto the next iteration
break; // Exit the loop
所属していません StackOverflow