如何在C#4.0中使用异步编程,这可能吗? [英] How Can I Use Asynchronous Programing In C# 4.0, Is This Possible?

查看:182
本文介绍了如何在C#4.0中使用异步编程,这可能吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



如何在我安装的c#窗口应用程序中使用Await和async关键字都需要像 Nuget 但我仍然无法找到await或async关键字Vs2010。



请帮助...

Hi all,

How Can Use Await and async keywords in my c# window application i already installed all require Software like Nuget but still i am not able to find await or async keyword in my Vs2010.

Please Help...

推荐答案

你不能。 Await和Async在V4.5上添加,所以你最好的选择是将VS升级到2013.

你不能在VS2010中使用那个只有C#4.0
You can't. Await and Async were added at V4.5 so your best bet is to upgrade VS to 2013.
You can't use then in VS2010 which is "only" C# 4.0


这篇关于如何在C#4.0中使用异步编程,这可能吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆