Skip to content

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

License

Notifications You must be signed in to change notification settings

hazzik/SpanDeconstructors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpanDeconstructors

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

Span<int> span = <...>;
var (a,b,_) = span;

Implementation notes

  • The decision has been made such that there are no safety checks on the deconstruction methods.

Installation

You can install from NuGet using following command:

> Install-Package SpanDeconstructors.Source

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages