ValueTuple

Indexed enumerator using C# 7 and ValueTuple

Indexed enumerator using C# 7 and ValueTuple

One of the new exciting features of C# 7 is the introduction of the struct- and instance field-based ValueTuple. Due to changed inner workings of a ValueTuple compared to the classic Tuple, deconstructors and syntactic sugar in Visual Studio, tuples have become a delight to use without compromising the readability of code.