// C# program to create a 7-ValueTuple
// using value tuple constructor
using System;
class GFG {
// Main method
static public void Main()
{
// Creating a value tuple with seven elements
// Using ValueTuple<T1, T2, T3, T4, T5, T6,
// T7>(T1, T2, T3, T4, T5, T6, T7) constructor
ValueTuple<string, string, string, string, string, string,
string> MyTpl = new ValueTuple<string, string, string,
string, string, string, string>("Dog", "Cat", "Cow",
"Pig", "Hen", "Bird", "Fish");
Console.WriteLine("Component 1: " + MyTpl.Item1);
Console.WriteLine("Component 2: " + MyTpl.Item2);
Console.WriteLine("Component 3: " + MyTpl.Item3);
Console.WriteLine("Component 4: " + MyTpl.Item4);
Console.WriteLine("Component 5: " + MyTpl.Item5);
Console.WriteLine("Component 6: " + MyTpl.Item6);
Console.WriteLine("Component 7: " + MyTpl.Item7);
}
}