List去重

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

原文地址:https://www.cnblogs.com/zwyAndDong/p/12911680.html