How to exit console application

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ron

    #1

    How to exit console application

    Hi,
    I am looking for an example on how to exit a console
    application when the user type's "exit".

    What is the proper way to handle this?

    Thanks Ron
  • Günter Prossliner

    #2
    Re: How to exit console application

    after the Main() function has finished, your programm ends

    "ron" <goodr@no_spam_ 4me_mddm.panaso nic.com> wrote in message
    news:8e2301c35b 63$cf5770d0$a00 1280a@phx.gbl.. .[color=blue]
    > Hi,
    > I am looking for an example on how to exit a console
    > application when the user type's "exit".
    >
    > What is the proper way to handle this?
    >
    > Thanks Ron[/color]


    Comment

    Working...