.

Terminating a WPF application

You could shutdown the app programatically as follow:

Application.Current.Shutdown();

or you could simply force a more disgraceful close:

Process.GetCurrentProcess().Kill(); 
Environment.Exit(0);

What's your thoughts on this?

*

Protected by WP Anti Spam