コード例 #1
0
        private static object Sum(List <Expression> p)
        {
            var tally = new Tally();

            foreach (var e in p)
            {
                tally.Add(e);
            }
            return(tally.Sum());
        }