Having fun with ValueTuple
A humorous exploration of C# ValueTuple's compiler behavior, especially with large numbers of elements.
A humorous exploration of C# ValueTuple's compiler behavior, especially with large numbers of elements.
Explores practical uses of C# ValueTuple for swapping values, pattern matching, deconstruction, and implementing IEquatable to write cleaner code.
Explains the new tuple syntax and ValueTuple type in C# 7, highlighting performance benefits and named elements over older Tuple classes.