标签:csharp name int arp res sharp list == set
public class User { public int ID { get; set; } public int Name { get; set; } }
List<User> result = new List<User>();
result = result.Where((x, i) => result.FindIndex(n => n.ID == x.ID) == i).ToList();
标签:csharp name int arp res sharp list == set
原文地址:https://www.cnblogs.com/ahao214/p/12729294.html