Practical example where Tuple can be used in .Net 4.0?

Amitabh picture Amitabh · Apr 30, 2010 · Viewed 81.7k times · Source

I have seen the Tuple introduced in .Net 4 but I am not able to imagine where it can be used. We can always make a Custom class or Struct.

Answer

tanascius picture tanascius · Apr 30, 2010

That's the point - it is more convenient not to make a custom class or struct all the time. It is an improvement like Action or Func... you can make this types yourself, but it's convenient that they exist in the framework.