Tuples
2 sectionsRapid overview
Tuples
TL;DR
A C# tuple (int Id, string Name) is syntax over System.ValueTuple<T1, T2>: a mutable struct with public fields Item1..Item7 plus Rest. Element names exist only at compile time (stored in [TupleElementNames] attributes on signatures), so the…
Read →How it works
Q: What is a tuple in C#?
Read →