2014年3月27日
摘要: ---恢复内容开始---IntroductionThere are several ways of doing asynchronous programming in .Net. Visual Studio 2012 introduces a new approach using the ‘await’ and ‘async’ keywords. These tell the compiler to construct task continuations in quite an unusual way.I found them quite difficult to understand us 阅读全文
posted @ 2014-03-27 09:46 武胜-阿伟 阅读(222) 评论(0) 推荐(0) 编辑
摘要: I thought of naming this post “Evolution of lambdas in C#”, then I decided that wouldn’t be closest appropriate name for the example that I wanted to discuss. The key to understand a lambda in C# is to understand a delegate. Besides the overly blatant blather – “delegates are nothing but function po 阅读全文
posted @ 2014-03-27 08:42 武胜-阿伟 阅读(237) 评论(0) 推荐(0) 编辑