请问VS 2010允许我用新的异步和等待关键字在C#中? [英] Will VS 2010 allow me to use the new async and await keywords in C#?

查看:113
本文介绍了请问VS 2010允许我用新的异步和等待关键字在C#中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在新的异步和等待功能去住,我将能够使用他们在Visual Studio 2010中,或者我需要有Visual Studio?

When the new async and await features go live, will I be able to use them in Visual Studio 2010, or will I need to have Visual Studio?

我要问的是:将微软保持VS 2010和VS 11之间的语言特性平等?该CTP是preVIEW,固体或没有,我们使用被认为是不完整的或未经测试的技术,我们的客户不希望 - 。所以尽管许可,我不能用它

What I'm asking is this: will Microsoft maintain language feature parity between VS 2010 and VS 11? The CTP is a preview, solid or not, and our customers don't want us using technology that is perceived to be incomplete or untested - so despite the licensing I can't use it.

我的雇主的没有的采购VS 11,所以我需要知道我是否是在浪费我的时间写code与异步和等待。

My employer is not purchasing VS 11, so I need to know whether or not I'm wasting my time writing code with async and await.

推荐答案

现在的异步CTP允许您使用新的等待异步语法在Visual Studio 2010中是很常见的语言团队演示新功能的时候提供CTP版本的Visual Studio的最新版本。这是一个伟大的方式来让开发试验和反馈给语言团队。

Right now the Async CTP allows for you to use the new awaits and async syntax in Visual Studio 2010. It's common for the language teams to provide CTPs for the current version of Visual Studio when demonstrating new features. It's a great way to let developers experiment and give feedback to the language team.

不过,对于最终版本中的新语言功​​能通常只提供用于Visual Studio(Dev11在这种情况下)的下一个版本。他们不是向后移植到Visual Studio的previous版本。

However for the final release the new language features are typically only made available for the next version of Visual Studio (Dev11 in this case). They aren't back ported to the previous version of Visual Studio.

CTP的当前版本,并最终在明年这种模式之前,LINQ发生。这几乎是一定的重复与等待

This pattern of CTP in current release and final in next has happened before with LINQ. It's almost certain to repeat with awaits

这篇关于请问VS 2010允许我用新的异步和等待关键字在C#中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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