C# = C++ when it comes to exiting.Originally Posted by mendhak
Code:for(int i = 0; i<10; i++) { if (!(i%2)) //divisible by 2 break; //break outter for .... } return; //get out of routine...although you should return some sort of status
|
Results 1 to 4 of 4
Thread: Exit Sub in C#?Hybrid View
|
Click Here to Expand Forum to Full Width |