3 ms·
> (Tuple unpacking is the clean way, but that has only recently been added.) That's both accurate and a little misleading. Tuples are ten years old, they were
by Someone1234 9y ago
> (Tuple unpacking is the clean way, but that has only recently been added.)
That's both accurate and a little misleading. Tuples are ten years old, they were added in 2009/10. However, improvements in syntax and cleaner unpacking have been recent additions.
In general though ref and out have taken a back seat to Tuples for years now in C#.