C# Looping A Process Over And Over Until A User Presses A Key
- by Soo
I have a schedule checker that needs to run until a user presses a key to make it stop.
My thoughts on doing this are as follows:
The user starts the process
Process runs every 10 seconds
When the process is not running, Console.ReadLine(); gives the user the option to press "q" to stop the process
My approach would work fine except the user…