Another way you can do this:
System.Diagnostics.Process.GetCurrentProcess().Kill(); This will force kill your application in process. It always works, even in a multi-threaded application.
Note: Just care about an application that has savebe careful not to lose unsaved data in files from another thread.