c# get out of for loop
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