Example #1
0
    static void Main(string[] args)
    {
        var totalOfAllAges = 0D;
        var people         = new ExcelRow();

        foreach (var item in people.GetPerson())
        {
            //calculate stats
            totalOfAllAges += item.Age;
        }

        Console.WriteLine("The total of all ages is {0}", totalOfAllAges);
    }