DEV Community

Discussion on: What is a tuple in C#?

Collapse
goaty92 profile image
goaty92

Well, there is a difference between the System.Tuple types and the new ValueTuple that has been added since C# 7. In fact ValueTuple is a value type (not a reference type) which brings additional performance benefit and should be prefered over System.Tuple.