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