3 ms·
C# 7.0 works for the most part in .NET 4.5 or even 4.0 Here it seems there is a dependency on the 4.7 runtime, is this the case? Where can I see a matrix of wh
by alkonaut 9y ago
C# 7.0 works for the most part in .NET 4.5 or even 4.0
Here it seems there is a dependency on the 4.7 runtime, is this the case? Where can I see a matrix of what C# versions work on which (full/desktop) runtimes?
- kevingadd 9y agoSpan definitely requires VM updates (Mono has been picking up commits to support it) so that feature at least is not going to work on 4.5/4.0 without a polyfill.
- benaadams 9y agoYou can use the NuGet package for downlevel support https://www.nuget.org/packages/System.Memory/ https://www.nuget.org/packages/System.Memory/ The runtime changes make it faster, smaller and include Jit optimizations for it (bounds check elimination etc)
- benaadams 9y agoYou can use the NuGet package for 4.5+ (check Dependencies section) https://www.nuget.org/packages/System.Memory/# https://www.nuget.org/packages/System.Memory/# The later runtime changes make it faster