Abc.NCrafts.Quizz.Questions._003.Answer1.Sum C# (CSharp) Method

Sum() private static method

private static Sum ( List items ) : int
items List
return int
        private static int Sum(List<int> items)
        {
            var sum = 0;
            foreach (var item in items)
            {
                sum += item;
            }
            return sum;
        }
    }
Answer1