Too simple to be a complex type, too complex to be a simple attribute.
That’s what tuples in C# are.
- Perfect for returning multiple values from a method.
- No need to create a class (or even a record).
- Easy to read.
Take a look at the image post and see how to use it.
Do you use tuples, or do you prefer DTOs/records?
👉 Adapted from my original post on LinkedIn .
