HighPrecisionTimer
HighPrecisionTimer copied to clipboard
Basic example for waiting intervals.
I am new to C#. I intend to use the timer to repeat an event every 100ms. Can you kindly give me a sample code that uses the timer implemented? If not any tips are appreciated regarding where to start reading the source code.
Thanks.
Hi. There's some sample code in HighPrecisionTimer/TimerDemo/Program.cs
However, for an interval like 100ms it is unlikely you will need this code and you can use the .NET's builtin System.Threading.Timer for that.