Feb 23, 2021 07:55 PM|MiguelMi|LINK
I have a problem with my SUM () it is only sum the first value of List to listing in a foreach
var totaQuantV = ResultList .Select(a => a.colers.Quant.Values).Sum();
are there any other ways to declare a SUM?
I tried but I have the same result;
var totaQuantV = ResultList.Sum(a => a.colers.Quant.Values);