What is the best way to kill an application instance? I am aware of these three methods:
Application.Exit()Environment.Exit(0)Process.GetCurrentProcess().Kill()
Can anyone tell me which is better or when using each of the above would be appropriate?