What's new in VS2017 and C# 7.0? - Tuples

added by DotNetKicks
3/30/2017 12:21:41 PM

2 Kicks, 195 Views

C# 7.0 introduces tuples for the first time. Although present in many other languages and introduced first as a generic type ( System.Tuple ) before, it wasn't until C# 7.0 that it was actually included into the language specification. The raison-d'être of the Tuple is to return 2 values at the same time from a method.