C#C
C#3y ago
Sven ☕

❔ Best way to wait for a certain time?

Imagine I have a program running on a server and I want to have it do a certain operation at 9am, what's the best way in C# to do so?
I'd like to just have an event that triggers at this time. Is there a performance friendly way?
I'd probably use a timer with an interval I calculate until it's 9am?

Thanks!
Was this page helpful?