For extremely low values of "easily". C#'s lack of pattern matching and tuple syntax makes dealing with tuples in C# a complete pain in the ass. It's ugly, annoying, code, in general.
P.S. You can do this in pretty much any language. Just define pair, triplet, etc.
Comments
For extremely low values of "easily". C#'s lack of pattern matching and tuple syntax makes dealing with tuples in C# a complete pain in the ass. It's ugly, annoying, code, in general.
P.S. You can do this in pretty much any language. Just define pair, triplet, etc.