how to restart console app in c# | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

how to restart console app in c#

what is easiest an fastest way to do it

4th Aug 2022, 8:01 PM
Saba Khutsurauli
Saba Khutsurauli - avatar
1 Réponse
+ 1
Process.Start(/*path*/); Environment.Exit(0); To close it entirely Or Main(""); //usually require string, though you can delete those argument it won't be problem in a way to restart all code.
6th Aug 2022, 12:05 PM
Jordan Coppengaghen
Jordan Coppengaghen - avatar