C# async await 学习笔记1(http://www.cnblogs.com/siso/p/3691059.html) 提到了ThreadId是一样的,突然想到在WinForm中,非UI线程是无法直接更新UI线程上的控件的问题. 于是做了如下测试: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; us
Most people have already heard about the new “async” and “await” functionality coming in Visual Studio 11. This is Yet Another Introductory Post. First, the punchline: Async will fundamentally change the way most code is written. Yup, I believe async