TA.System.Runtime.CompilerServices.RuntimeHelpers.GetSubArray NuGet Package

A source code only package which allows you to use C# new array range syntax in older target frameworks like .NET Standard 2.0 or the "old" .NET Framework.

This package does not contain any compiled binaries, but instead adds the helper methods as C# source code to your project.

Because this code is compiled together with the rest of your code, the built binaries will not have a dependency on this package, meaning that you can perfectly use it for both libraries and applications.

The C# code is only included if you are targeting a framework version which does not support the new range syntax. For example, if you create a library which multi-targets .NET Standard 2.0 and 2.1, the helper methods are not included in the .NET Standard 2.1 version, because it already provides these by default.




Got any TA.System.Runtime.CompilerServices.RuntimeHelpers.GetSubArray Question?





Info

Version: 1.0.1
Author(s): Tahir Ahmadov
Last Update: Wednesday, November 4, 2020
.NET Fiddle: Create the first Fiddle
NuGet Url: https://www.nuget.org/packages/TA.System.Runtime.CompilerServices.RuntimeHelpers.GetSubArray


Install
Install-Package TA.System.Runtime.CompilerServices.RuntimeHelpers.GetSubArray
dotnet add package TA.System.Runtime.CompilerServices.RuntimeHelpers.GetSubArray
paket add TA.System.Runtime.CompilerServices.RuntimeHelpers.GetSubArray
TA.System.Runtime.CompilerServices.RuntimeHelpers.GetSubArray Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

avg-downloads-per-day

0

days-since-last-release

1267