5 references to Sum
System.Linq (5)
System\Linq\Sum.cs (5)
14public static int Sum(this IEnumerable<int> source) => Sum<int, int>(source); 16public static long Sum(this IEnumerable<long> source) => Sum<long, long>(source); 18public static float Sum(this IEnumerable<float> source) => (float)Sum<float, double>(source); 20public static double Sum(this IEnumerable<double> source) => Sum<double, double>(source); 22public static decimal Sum(this IEnumerable<decimal> source) => Sum<decimal, decimal>(source);