Skip to content

Basic example for waiting intervals. #3

Open

Description

@stormwindy

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.

Activity

  1. mzboray commented on Nov 24, 2020

    @mzboray
    Owner

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions