title: How to lightweight register a periodic event?
body: <p>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.</p>
  
  <p><b>Edit:</b> My main concern is LoC. I don't feel like writing an entire class when something along the lines of this could work, too:</p>
  
  <pre><code>System.RegisterPeriodicEvent (1000, () =&gt; { Syso("asdf"); };
  </code></pre>
  
  <p>In my dreams this event is automatically unregistered as soon as the current threat terminates.</p>
  
  <p>I get the feeling that I should just write a class which implements the above method.</p>