摘要:
.net framework4.5中新增加的async await关键字,即异步方法功能,使异步操作的编写特别方便、高效和容易理解。下面给出一个简洁示例: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading; 6 using System.Threading.Tasks; 7 8 namespace AsyncTest 9 {10 class Program11 {12 sta... 阅读全文
posted @ 2012-10-30 17:00
杨mon
阅读(463)
评论(0)
推荐(0)

浙公网安备 33010602011771号