Skip to content

Application.Exit

George George

Asked Apr 27, 2008, 12:19 AM EDT2 answers
Share
LinkedInX

Hello everyone,


I am new to this API. After some study, Application.Exit should only be used in Forms application, and in console/Windows service application without any GUI Window, we should not use it to exit application, right?


thanks in advance,
George

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • Bechir Bejaoui
    0
    If you use Application.Exit() that means you quit the entire application reguardless of its nature
    0
  • 0

    Sorry I have not made myself understood. I mean if I am using console and Windows Service application without any GUI, Application.Exit is useless since it only works for Windows Forms GUI application, right?

     

    regards,

    George

    0