Best way to kill application instance

Viewed 38161

What is the best way to kill an application instance? I am aware of these three methods:

  1. Application.Exit()

  2. Environment.Exit(0)

  3. Process.GetCurrentProcess().Kill()

Can anyone tell me which is better or when using each of the above would be appropriate?

4 Answers
Related