|
Question : What is continue keyword in C++ is in VB.Net
|
|
Instead of 'continue' used in c++,what we use in the for loop in vb.net.I want the same functionality as continue
|
|
Answer : What is continue keyword in C++ is in VB.Net
|
|
If you are using VS .NET 2003 there is no equivalent. You must use a goto:
For ii = 0 To 10 tot = tot + ii If ii = 2 Then GoTo CONTINUE tot = tot + ii * 2 CONTINUE: Next
|
|
|