C# 多线程详解 Part.03 (定时器)
摘要:
Timer 类: 设置一个定时器,定时执行用户指定的函数。定时器启动后,系统将自动建立一个新的线程,执行用户指定的函数。using System;using System.Threading;namespace ThreadExample{ class TimerExampleState { public int counter = 0; public Timer tmr; } class App { public static void Main() { TimerExampleSt... 阅读全文
posted @ 2012-04-01 20:06 SkySoot 阅读(4977) 评论(0) 推荐(1)
浙公网安备 33010602011771号