i want to exit from a procedure. in vb.net i used Exit Sub to exit. but in c#.net what is the code ?.
Alternate for Exit Sub in C#.net.
Collapse
X
-
Tags: None
-
Originally posted by noorcsharpi want to exit from a procedure. in vb.net i used Exit Sub to exit. but in c#.net what is the code ?.
that sounds to me like u want to terminate some excecution.. try with a return(); statement. it finish whatever you're doing and bring you to the previes stack position in your app ejecution..
hope it helps :D
Comment