break & continue problem.
Hello
I've started learning a book for C# and I found some weak things in it. Look at the source part below.
for(int i=0;i<10;i++)
for(int j=0;j<10;j++)
if(j==5) break; // or continue;
Here the break statement works for J loop. How I can let it to work for the I loop. I know there is goto statement and is it possible to solve the task without using goto???
10x
|