📜  c# 跳出 for 循环 - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:48.060000             🧑  作者: Mango

代码示例1
WRITTEN BY Øyvind Bråthen:

If you are inside a loop and want to abort the loop execution 
and jump to the code after the loop, insert a break; statement.

If you only want to stop the current loop iteration, 
and continue with the rest of the loop, add a continue; statement instead.

Pls say thanks to Øyvind