开发者

Using C# 5 async feature in Linqpad

Is it possible to use C# 5 async features in Linqpad snippets? Does anyone开发者_如何学JAVA know of any hack/beta which allows you to do it?


Installing the async CTP should be enough - async code should compile in LINQPad (although the Intellisense will show red squigglies). I'll look at dealing to the red squigglies in the next beta :)

You will have to add a reference to asyncctplibrary.dll, as in VS.

Update: the red squigglies and autocompletion has been dealt to in the latest beta.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜