Home » Forum

Forum

A Very Big Sum Of A...
 
Notifications
Clear all

A Very Big Sum Of Array

   RSS

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