ArrayDeconstructors.Source
1.0.3
There is a newer version of this package available.
See the version list below for details.
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
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 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
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
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.