restart wpf code example Example: wpf restart application c# Application.Current.Shutdown(); System.Windows.Forms.Application.Restart();