摘要: C# List根据对象属性去重的四种方法 ** 方法一:循环遍历List,借助Dictionary存储去重的对象。** Dictionary<string, Item> result = new Dictionary<string, Item>(); foreach (Item item in li 阅读全文
posted @ 2022-07-25 10:11 朕在coding 阅读(284) 评论(0) 推荐(0) 编辑