private static void Main(string[] args)
{
for (;;)
{
TemporaryCityTool.TemporaryCityTool.AddCity();
Console.WriteLine("waiting...");
Thread.Sleep(3600);
}
}
why Thread.sleep
not working. I am getting message waiting all the time. I want that application will wait 10 minutes then continue again.