List去重复

var objects = yourResults.GroupBy(o => o.Id).Select(g => g.First());
原文地址:https://www.cnblogs.com/kevin1988/p/14049027.html