I want some code to be triggered every second. Usually, I'd create a Timer and link to its event. I wondered if there is a better way. Maybe without the requirement to implement IDisposable.
Edit: My main concern is LoC. I don't feel like writing an entire class when something along the lines of this could work, too:
System.RegisterPeriodicEvent (1000, () => { Syso("asdf"); };
In my dreams this event is automatically unregistered as soon as the current threat terminates.
I get the feeling that I should just write a class which implements the above method.