I have made a hangman game, and I want to be able to restart it after you've won/lost, rather than having to restart the program manually every time.
I saw on the internet 'Application' which can be used to restart the console. However, it says that Application doesnt exist.
Close();
System.Diagnostics.Process.Start(Application.ExecutablePath);
Please help me!