IAsyncResult 接口
摘要:
using System;using System.Threading; namespace Examples.AdvancedProgramming.AsynchronousOperations{ public class AsyncDemo { // The method to be executed asynchronously. public string TestMethod(int callDuration, out int threadId) { Console.WriteLine("Test method begins."); Thread.Sleep(ca 阅读全文
posted @ 2011-03-31 22:47 ATAK 阅读(337) 评论(0) 推荐(0) 编辑