How to automatically restart c# console application after a succesfull run? My program should be running continuously. And i should be like a loop but not in the code cuz that doesn't work.
What i've tried:
Application.Restart();
Environment.Exit(0);
And
System.Environment.Restart();
None of these seems to work for my project. So i'm looking for other ways?