Should be simple and quick: I want a C# equivalent to the following Java code:
orig: for(String a : foo) { for (String b : bar) { if (b.equals(\"buzz\"
In VB.Net, you could just have one while loop and one for loop and then exit the desired scope level.
while
for
exit
In C#, maybe break; ?
break;
That might break out of the inner loop and allow the outer loop to keep going.