Skip to content

ArrayDeconstructors is a source package which allows you to use C# 7 deconstruction syntax to deconstruct span into variables

License

Notifications You must be signed in to change notification settings

hazzik/ArrayDeconstructors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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;

Sponsorship

If you like the library please consider supporting my work.

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

About

ArrayDeconstructors is a source package which allows you to use C# 7 deconstruction syntax to deconstruct span into variables

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages