Now, first we will make a function that returns tuple values. So, what is a tuple? Let's define them. As I said earlier, it's basically a collection of several values. Now, in C#, this means that you'll enter the following below the closed curly brace under the line that begins with public partial class...:
private static Tuple<double, double, double, double> SummarizeList(List<double> listDoubles)
In the preceding line, Tuple is a class. Then, to define the number of values that the tuple stores, remember our work with vectors. We did two or three values to a vector. This is a similar concept. If you hover your mouse over Tuple, it says that Tuple represents n-tuple where n is eight or greater, so T1, T2, T3, up to TRest. Wow, so you can make eight or more tuples!