It is frequently necessary to have a high frequency timer in C# (more than 50 Hz). Especially in robots, frequencies around 100Hz are necessary for managing positionning task or real time operating systems task.

However built in timers form System.TImers System.Threading or Dispatcher Timers are not usable for these features because their frequency is limited to approximately 40 Hz and their period can vary a lot from one the the next one.

Here, a high frequency timer is proposed and can be embedded as a library in a project. Code can be downloaded here : Download High Frequency Timer Project