var list = List.Where((x, i) => ShareProductList.FindIndex(z => z.name == x.name) == i).ToList();
EFCore List去重
最新推荐文章于 2024-05-14 22:18:20 发布
var list = List.Where((x, i) => ShareProductList.FindIndex(z => z.name == x.name) == i).ToList();