- 博客(1)
- 收藏
- 关注
转载 C# List Distinct用法
class ListDistinctDemo{static void Main(string[] args){List personList = new List(){new Person(3),//重复数据new Person(3),new Person(2),new Person(1)};//使用匿名方法List delegateList = personList.Distinct(new Compare(delegate(Person x, Person y){if (nu
2020-10-24 10:36:29
8462
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人