.NET 4.5 会引入新版本的 CLR 吗?

问题描述:

在过去,并非每个新版本的 .NET 都带有新版本的 CLR.我知道 .NET 1.0、1.1、2.0 和 4.0 有,但 .NET 3.0 和 3.5 没有.

In the past not every new version of .NET came with a new version of the CLR. I know .NET 1.0, 1.1, 2.0 and 4.0 did, but .NET 3.0 and 3.5 did not.

.NET 4.5 会引入新的 CLR 吗?如何判断是否有新的 CLR?

Will .NET 4.5 introduce a new CLR? And how does one tell if there's a new CLR?

是的,.NET 4.5 有一个全新的 CLR 版本,您可以在以下位置阅读有关改进的信息;

Yes, .NET 4.5 has a brand spanking new version of the CLR, you can read about the improvements at;

http://blogs.microsoft.co.il/blogs/sasha/archive/2011/09/17/improvements-in-the-clr-core-in-net-framework-4-5.aspx

澄清;这是一个新版本的 CLR,实际上替换了 4.0 版本,因此是否将其称为更新或新的 CLR 是有争议的.

To clarify; this is a new version of the CLR that actually replaces the 4.0 one, so whether to call it an update or a new CLR is disputable.

要判断您在哪个 CLR 版本下运行,请使用

To tell which CLR version you're running under, use

System.Runtime.InteropServices.RuntimeEnvironment.GetSystemVersion()