using System; using System.Collections.Generic; class Program { static void Main() { int[] minutes = {1, 2, 3}; int total = 0; foreach (int value in minutes) total += value; Console.WriteLine(total); } }