我可以在带有 .Net 4.5 的 C# 5 中做哪些在带有 .Net 4 的 C# 4 中无法做到的? [英] What can I do in C# 5 with .Net 4.5 that I couldn't do in C# 4 with .Net 4?

查看:21
本文介绍了我可以在带有 .Net 4.5 的 C# 5 中做哪些在带有 .Net 4 的 C# 4 中无法做到的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Windows 8 Release Preview 上安装了 Visual Studio 2012 RC,我的问题是是否有任何与 Metro 无关的有用新功能,或者 Metro 是否将 .Net 4 和 .Net 4.5 分开?

I have Visual Studio 2012 RC installed on Windows 8 Release Preview and my question is are there any useful new features not related to Metro, or is Metro what seperates .Net 4 and .Net 4.5?

推荐答案

参见 .NET Framework 4.5 中的新增功能Visual Studio 2012 中 Visual C# 的新增功能.

C# 5.0 最大的新特性是更好地支持异步操作,使用新的await 关键字.

The biggest new feature of C# 5.0 is better support for asynchronous operations, using the new await keyword.

这篇关于我可以在带有 .Net 4.5 的 C# 5 中做哪些在带有 .Net 4 的 C# 4 中无法做到的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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