C# list去重复

data.Where((xf, f) => data.FindIndex(z => z.Id == xf.Id) == f).ToList();

posted @ 2024-05-17 17:50  讠讠讠  阅读(12)  评论(0)    收藏  举报