using System;
class Program
{
static void Main()
{
// Create a ValueTuple.
var unit = (10, 20, 'X');
// Convert to a Tuple.
Tuple<int, int, char> tuple = unit.ToTuple();
Console.WriteLine(unit.GetType());
Console.WriteLine(unit);
Console.WriteLine(tuple.GetType());
Console.WriteLine(tuple);
}
}
System.ValueTuple`3[System.Int32,System.Int32,System.Char]
(10, 20, X)
System.Tuple`3[System.Int32,System.Int32,System.Char]
(10, 20, X)