Resolution of timer定时器 RRS feed

  • 问题

  • 请问,System.timers.timer和threading.timer 可以实现25-30 ms左右精度的定时吗? 


    2013年6月18日 1:00


  • using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Reflection;
    using System.Text;
    using System.Threading;
    using System.Threading.Tasks;
    using System.Threading;
    using System.Diagnostics;
    namespace CSharp
        class Program
            static void Main(string[] args)
                Stopwatch watch = new Stopwatch();
                Timer t = new System.Threading.Timer(
                    }, null0,25);

    If you think one reply solves your problem, please mark it as An Answer, if you think someone's reply helps you, please mark it as a Proposed Answer

    Help by clicking:
    Click here to donate your rice to the poor
    Click to Donate
    Click to feed Dogs & Cats

    Found any spamming-senders? Please report at: Spam Report

    2013年6月18日 6:11