Which is the preferred method of closing a C# WPF Application?
1) calling Window.Close() within the Main Window
2) Calling Application.Current.Shutdown( 0 ) within the Main Window.
Are the two semantically equivalent or is there a subtle distinction that I need to be aware of?