Dissecting the tuples in C# 7

added by DotNetKicks
11/1/2017 1:40:24 PM

2 Kicks, 313 Views

System.Tuple types were introduced in .NET 4.0 with two significant drawbacks: (1) tuple types are classes and (2) there was no language support for constructing/deconstructing them. To solve these issues, C# 7 introduces new language feature as well as a new family of types (*). Today, if you need to glue together two values to...