Using Tuple in C#

Introduction: Tuple<T> is class in .NET. It is data structure which can hold elements of different data types. It can be used like any entity which can hold element of different data types. We can use Tuple instead of a class with properties. It is introduced in .NET Framework 4.0. Syntax: Tuple<T1,T2,T3,T4,T5,T6,T7,T8> How to Create … Read more