Mothra
Centurion
Does C# have an equalivant to VB's Exit Function(or Sub, or whatever)?
Mothra said:right on. Thanks!
Rimmel said:You can use "return" in VB.net as well......
If you'd like to exit only a Loop then you can use "break" (at least in C# - don't know whether it also works in VB.NET)... the program contiues to run in the same procedure/function but after the Loop you where just in..Denaes said:Oh, so return exits a procedure/function?
VB has Exit.Sub, Exit.Loop, Exit.If
Does return do all of that? Just exit you out of your nearest clause?