Was following tutorial here https://www.tutorialspoint.com/chash-linq-sum-method to Sum up values in a list. But I have multiple columns so code fails at:
double res = ProductList.AsQueryable().Sum();
Console.WriteLine(res);
see end of the file here https://dotnetfiddle.net/vmtTuP for issue.