RosettaCodeData/Task/Flow-control-structures/C-sharp/flow-control-structures-5.cs

8 lines
159 B
C#
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
while (conditionA) {
for (int i = 0; i < 10; i++) {
if (conditionB) goto NextSection;
DoSomething(i);
}
}
NextSection: DoOtherStuff();