forms how to restart forms in c# code example Example: how to close and reopen an app in c# Application.Restart();