C# 7


Deconstruction is a nice way to consume tuples. It’s a syntax that allows splitting a tuple into variables.

C# 7.0 – Deconstruction



2
Tuples first appeared in C# with .NET Framework 4.0. They were supposed to be a lightweight alternative for small classes that were created if a method had to return more than one value.

C# 7.0 – Tuples