1 var goodsTotalPrice = checkedGoodsList.Select(s => new 2 { 3 TotalPrice = s.number * s.retail_price 4 }) 5 .Sum(s => s.TotalPrice);
2022-05-03 02:40:01
1 var goodsTotalPrice = checkedGoodsList.Select(s => new 2 { 3 TotalPrice = s.number * s.retail_price 4 }) 5 .Sum(s => s.TotalPrice);