Home » Labs » Working with .NET Framework 4.0 Tuples  

Working with .NET Framework 4.0 Tuples

Filed under Labs

Tuple is an inbuilt class type introduced in .net framework 4.0. This type is very useful if the developer knows when and where to use it. A tuple in .net framework 4.0 will represent a data structure whose element can be strongly typed. This type is directly added to the System namespace.

Tuple Insight

Tuple is a static class and can be injected with a list of items that are of different types. A tuple object can be created using its constructor or by using the method factory method called Create. More