ArrayDeconstructors.Source 1.0.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package ArrayDeconstructors.Source --version 1.0.3                
NuGet\Install-Package ArrayDeconstructors.Source -Version 1.0.3                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ArrayDeconstructors.Source" Version="1.0.3">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ArrayDeconstructors.Source --version 1.0.3                
#r "nuget: ArrayDeconstructors.Source, 1.0.3"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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

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;

Implementation notes

  • 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.

Installation

You can install from NuGet using following command:

> Install-Package ArrayDeconstructors.Source
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.4 3,124 10/12/2022
1.0.3 9,086 11/8/2017
1.0.1 1,239 7/23/2017