I want to do stuff every minute on the minute (by the clock) in a windows forms app using c#. I\'m just wondering whats the best way to go about it ?
I could use a t
How about:
int startin = 60 - DateTime.Now.Second; var t = new System.Threading.Timer(o => Console.WriteLine("Hello"), null, startin * 1000, 60000);