+ 1
Console Restart
how to restart a Console Application by a code?
5 Réponses
+ 2
You need to use the app name.
+ 1
Application.Restart();
0
Application.Restart(); doesn't work in Console.
0
Where do you try it?
0
in VS console app . like this.
string a = console.readline ();
if ( a=="restart")
{
Application.Restart();
}
doesn't work.