var groupList1 = grantCard.GroupBy(x => new {
x.ProductId }).Select(group => new {
ProductId = group
c# GroupBy的使用
最新推荐文章于 2023-12-12 22:30:00 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
var groupList1 = grantCard.GroupBy(x => new {
x.ProductId }).Select(group => new {
ProductId = group