C# Tuple Explained

In C# if we want to group data which is based on different data types, we can use Tuples. C# provides Tuples class in System namespace. In this example, first we create a Tuple and access its elements. Then, we create function that returns a tuple.