A Very Big Sum

  • + 0 comments

    My C# solution:

        public static long aVeryBigSum(List<long> ar)
        {
            long result = 0;
            for(int i = 0; i < ar.Count; i++)
            {
                result += ar[i];
            }
            return result;
        }