Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 949049
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T23:20:33+00:00 2026-05-15T23:20:33+00:00

Is there a .NET Timer available in C# that can ensure there is no

  • 0

Is there a .NET Timer available in C# that can ensure there is no “drift” in between events? That is, if you set the timer to go off every X seconds, that after days of operating it won’t drift, i.e. to ensure that approach number of X seconds events in a day remains in synch with what it should be?

If not, is there a well known code example that would wrap a Timer function in C# to do this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T23:20:34+00:00Added an answer on May 15, 2026 at 11:20 pm

    sorry for only giving you a link to quartz.net, but this is a fully qualified, enterprise, tested, … library … you don’t need to reinvent the wheel 🙂

    if you worry about overhead, what is your definition for overhead? is it the file-size (binaries are about 0,5mb) or the overhead in the logic.
    well for the logic-part: i think that implementing their IJob-interface does a good job to force better code of the consumer. i’m not that big friend of inline-methods (just as an example, as you might fire their pointers on timer elapse) – classes would give you much more possibilities, and once again, force better oop, domain-design, …

    but: doing Console.WriteLine(...) with quartz.net would be overkill … 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am aware that in .NET there are three timer types (see Comparing the
Is there a .NET (C#) method or API call that I can use to
Are there simple libraries out there (.NET and Java) that are able to validate
In .NET there are two version numbers available when building a project, File Version
I'm trying to write a small Windows Service in .NET 3.5, that check every
With a seriously big .NET site/solution (100's of assemblies), are there any tools available
Is there a .NET porting of Domain Driven Design's Time and Money project?
Is there any example for a Real Time Chart using the DexExpress in ASP.Net?
Are there net to host conversion functions in C#? Googling and not finding much.
In .NET there is the CultureInfo class in the System.Globalization namespace. It has two

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.