Tuple can store n - number of values in it. The type of each of those variables as generic parameters, and the object will create those values for you.
Using a Tuple Base class library exposes two objects. It exposes the static class Tuple which allows you to get a number of Tuple instances based on the Static method Create, and a number of Tuple classes, each of which takes some specific number of Generic arguments.
Tuple.Createhas 8 overloads and each of these overloads returns new object ofTuple<t1, t2...t8>class. So .NET framework exposes 8 different classes each of them takingT1..... T8number of arguments and each of them exposesItem1..... Item8number of arguments.
The Tuple class can be instantiated directly as well without using static objects. Even If you see in Reflector, all the Create method actually returns its respective Tuple object.
Hence, lets create object of Tuple.
Tuple<int, string> tuple = new Tuple<int, string>(20, "Csharp");
Here the class with two Generic Type argument is created and hence it exposes the items as Item1 and Item2.
Similar to this, you can also create Tuple of 3, 4, 5 .....7 types
How to generate N number of argument list?
Tuple actually supports more than 8 argument as it expects the 8th argument as another Tuple. Say for instance, if you write :