title: How to get actual values from timer in C#
body: <p>I've problem with creating timer in C# console application that not only shows elapsing time but also returns value of that time. I need it to calculate velocity of moving sensor, which frame I get and convert into real distance it traveled. Unfortunately I can't do that with timer from System.Threading, because it returns void. </p>
  
  <p>Is there a possibility to do such thing or should I use stopwatch to get value of time between each answer of sensor and then return value of time as sum of current intervals?</p>