List去重

list.where((a,b)=>list.FindIndex(z=>z.code==a.code)==b).ToList();

posted @ 2020-05-18 17:07  行走在0和1之间  阅读(115)  评论(0编辑  收藏  举报