I am developing a c# console application (which will be converted to a windows service later).
My application starts a lot of timers that execute some code in intervals (once a day, once an hour, etc).
I dont want my console application to exit after setting all the timers.
Right now I am using a while true sentence but I think that it is not the correct way.
Any help?