If you have the following function, for example:
public Tuple<int, int> GetMultipleValue()
{
return Tuple.Create(1,2);
}
How would you access those integers in your main program, after calling GetMultipleValue()?
Tuple classes have properties with very "logical" names: Item1, Item2, Item3, ...
Tuple<int, int> temp = GetMultipleValue();
Console.WriteLine("{0}; {1};", temp.Item1.ToString(), temp.Item2.ToString());
From MSDN Tuple <T1, T2> Class