FiveList = FiveList.Where((x, i) => FiveList.FindIndex(z => z.sationName == x.sationName) == i).ToList();
.net linq根据某个字段去重
最新推荐文章于 2022-02-04 22:47:11 发布
FiveList = FiveList.Where((x, i) => FiveList.FindIndex(z => z.sationName == x.sationName) == i).ToList();