Alternative for VB's Exit Sub ?
Hi,
The answer will probably be shorter and easier than my question but I have searched the internet for some time now and was not able to find how to accomplish what is written below.
Imagine this example:
private void myRoutine()
if (something==false)
{
code to exit MyRoutine;
}
Similar to VB's Exit Sub
Sub myRoutine()
If something = false then
Exit Sub
End If
End Sub
Thanks for your help !
Kind regards,
ShAdOwHuNtEr