I would like to know how to run a c# program in background every five minute increments. The code below is not what I would like to run as a background process but would lik
This app should run continuously, putting out a message every 5 minutes. Isn't that what you want?
class Program { static void Main(string[] args) { while (true) { Console.Write("hellow world"); System.Threading.Thread.Sleep(1000 * 60 * 5); // Sleep for 5 minutes } } }