摘要: private Action<int> sleep = second => { Console.WriteLine("enter Action"); Thread.Sleep(second * 1000); PrintThread(); Console.WriteLine("leave Action"); };public void AsynT() { PrintThread(); Console.WriteLine("begin"); var result = sleep.BeginInvoke(2, null, 阅读全文
posted @ 2012-04-11 16:00 张保维 阅读(201) 评论(0) 推荐(0) 编辑