Results 1 to 11 of 11

Thread: Exit sub and C# equivalent ?[Resolved]

Threaded View

  1. #1

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

    Exit sub and C# equivalent ?[Resolved]

    We used to use it in VB like so :

    VB Code:
    1. Public Sub a()
    2.         Dim blah As String
    3.  
    4. If blah = "" Then
    5.           Exit Sub
    6.  Else
    7.   'do this
    8. End If
    9.  
    10. End Sub
    I know there are other tech I can use instead but Is there similar thing in C# ?
    Last edited by Pirate; Jul 9th, 2003 at 03:24 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width