Install-Package ArrayDeconstructors.Source -Version 1.0.3
dotnet add package ArrayDeconstructors.Source --version 1.0.3
<PackageReference Include="ArrayDeconstructors.Source" Version="1.0.3"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add ArrayDeconstructors.Source --version 1.0.3
#r "nuget: ArrayDeconstructors.Source, 1.0.3"
// Install ArrayDeconstructors.Source as a Cake Addin #addin nuget:?package=ArrayDeconstructors.Source&version=1.0.3 // Install ArrayDeconstructors.Source as a Cake Tool #tool nuget:?package=ArrayDeconstructors.Source&version=1.0.3
ArrayDeconstructors is a source package which allows you to use new C# 7 deconstruction syntax to deconstruct array into variables:
int array = <...>; var (a,b) = array;
- The decision has been made such that there are no safety checks on the deconstruction methods.
- For the better user experience and performance reasons we do not return the array's tail.
You can install from NuGet using following command:
> Install-Package ArrayDeconstructors.Source
This package has no dependencies.
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.