In this recipe, we will be using C# tuples with our library. Tuples allow you to combine the assignment of multiple variables of varying types in a single statement. For example, you can do this in a single line of code:
(string firstName, string lastName, int yearsOfExperience) = ("Fiqri", "Ismail", 15);
Let's have a look at using tuples in a .NET Standard 2.0 library.