J
Jon Slaughter
Say I have two nested foreach loops, is there any simple way of continuing
out of the outter most loop depending on what happens in the inner most?
e.g.,
foreach(int i in I)
{
foreach(int j in J)
if (j == 3)
break.continue;
}
where break.continue means break out of inner loop and continue in outter
loop.
I doubt such a thing exists but just curious
Thanks,
Jon
out of the outter most loop depending on what happens in the inner most?
e.g.,
foreach(int i in I)
{
foreach(int j in J)
if (j == 3)
break.continue;
}
where break.continue means break out of inner loop and continue in outter
loop.
I doubt such a thing exists but just curious
Thanks,
Jon