5 ms·
In fact, depending on the language features you use, it may even be possible to compile down to an older CLR version, as the new language features are often sim
by __float 14y ago
In fact, depending on the language features you use, it may even be possible to compile down to an older CLR version, as the new language features are often simply syntactic sugar for some code generation that happens behind the scenes.
- bunderbunder 14y agoThat's exactly what's happening. All versions of .NET since version 2.0 are primarily library updates. They can all safely run on the same CLR, and there haven't had to be any changes to the CLR to enable new language features. A computer really only needs to have a second version of the CLR installed in order to run code that targets .NET 1.x
- sreque 14y agoThis isn't true. .NET 4.0 and on use a different runtime than 2.0, 3.0, and 3.5.
- bunderbunder 14y agoI stand corrected. Thanks.