Tuple Class Provides static methods for creating tuple objects.
using System;
public class MainClass{
public static void Main(){
var primes = Tuple.Create(2, 3, 5, 7, 11, 13, 17, 19);
Console.WriteLine(primes.Item1);
}
}
Related examples in the same category