2023年5月6日
摘要: 方法一:遍历list 循环遍历List,借助Dictionary存储去重的对象 Dictionary<string, Item> result = new Dictionary<string, Item>(); foreach (Item item in list)//list为待去重列表 { It 阅读全文
posted @ 2023-05-06 17:57 Jeffrey~~ 阅读(54) 评论(0) 推荐(0)