exit application wpf

Code Example - exit application wpf

                
                        System.Windows.Application.Current.Shutdown();