摘要: using System;using System.Collections.Generic;using System.Text;using System.Threading;namespace sample{ class AsyncDemo { public string TestMethod(int callDuration, out int threadid) { Console.WriteLine("Test Method begins"); Thread.Sleep(callDuration); threadid = System.Threading.Thread. 阅读全文
posted @ 2008-03-13 16:34 靓点博客 阅读(115) 评论(0) 推荐(0) 编辑