ArrayDeconstructors.Source 1.0.3

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>
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ArrayDeconstructors.Source, 1.0.3"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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

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.3 3,811 11/8/2017
1.0.1 790 7/23/2017