For review, the complete version of the Default.aspx.cs for this chapter, including comments, is shown in the following code block:
//using is a directive
//System is a name space
//name space is a collection of features that our needs to run
using System;
using System.Collections.Generic;
using System.Linq;
//public means accessible anywhere
//partial means this class is split over multiple files
//class is a keyword and think of it as the outermost level of grouping
//:System.Web.UI.Page means our page inherits the features of a Page
public partial class _Default : System.Web.UI.Page
{
private static Tuple<double, double, double , double> SummarizeList(List<double> listDoubles)
{
Tuple<double, double, double, double> summary =
Tuple.Create(listDoubles.Sum(),
listDoubles.Average(), listDoubles.Max(), listDoubles.Min());
return...