HighPrecisionTimer icon indicating copy to clipboard operation
HighPrecisionTimer copied to clipboard

Basic example for waiting intervals.

Open stormwindy opened this issue 5 years ago • 1 comments

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.

stormwindy avatar Nov 16 '20 18:11 stormwindy

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.

mzboray avatar Nov 24 '20 05:11 mzboray