using
System;
class
GFG {
static
public
void
Main()
{
var
MyTple1 = ValueTuple.Create();
Console.WriteLine(
"HashCode of a value tuple with"
+
" zero elements: "
+ MyTple1.GetHashCode());
var
MyTple2 = (23);
Console.WriteLine(
"HashCode of a value tuple "
+
"with one element: "
+ MyTple2.GetHashCode());
var
MyTple3 = (56, 45);
Console.WriteLine(
"HashCode of a value tuple "
+
"with two elements: "
+ MyTple3.GetHashCode());
var
MyTple4 = (67, 78, 89);
Console.WriteLine(
"HashCode of a value tuple with "
+
"three elements: "
+ MyTple4.GetHashCode());
var
MyTple5 = (09, 23, 12, 1);
Console.WriteLine(
"HashCode of a value tuple with "
+
"four elements: "
+ MyTple5.GetHashCode());
var
MyTple6 = (65, 87, 98, 23, 45);
Console.WriteLine(
"HashCode of a value tuple with"
+
" five elements: "
+ MyTple6.GetHashCode());
var
MyTple7 = (13, 56, 78, 12, 65, 98);
Console.WriteLine(
"HashCode of a value tuple with"
+
" six elements: "
+ MyTple7.GetHashCode());
var
MyTple8 = (32, 45, 96, 78, 35, 33, 44);
Console.WriteLine(
"HashCode of a value tuple with"
+
" seven elements: "
+ MyTple8.GetHashCode());
}
}