我有一个以这种方式过滤的列表:
var items = myList.Select(c => c.foo == 1)
.Aggregate((decimal s, decimal c) => s.prop + a.prop);
编译器说:
选择不包含“聚合”的定义
我做错了什么?
相关分类