31031775 16800961 16720956 18001030 This section of codes are executed once for my each clicking. No matter how quick I click, I got very big tick difference between two clicks, as below. What's wrong with it? In my mind, I expect each difference should be just 1000 or so at most because its unit it milisecond.63558152184720196731031775168009611672095618001030推荐答案 请参阅 https://msdn.microsoft.com/en- us / library / system.datetime.ticks(v = vs.110).aspx [ ^ ]。 我自己试了一下 是的,我得到相同的结果:无论我输入多快都有限制。 这可能是因为操作系统有许多进程并在任务之间切换。 否则我们的电脑无法进行多任务处理。 I just tried it myselfYes, I get same result: no matter how fast I type there is a limit.This is probably due to the fact the OS has many processes and switches between tasks.Otherwise we could not have multi-tasking on our computers. static void Main(string[] args) { Console.WriteLine("DoubleClickTime = " + SystemInformation.DoubleClickTime.ToString()); long ticks = 0; DateTime previous = DateTime.Now; char c = (char)0; while((c=Console.ReadKey().KeyChar)!='q') { DateTime now = DateTime.Now; ticks = now.Ticks - previous.Ticks; Console.WriteLine(": Ticks= {0}", ticks); previous = now; } Console.ReadKey(); } 这篇关于得到蜱虫有什么问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 10-21 04:58