C# 集合去掉重复项

Distinct() 这个方法就可以满足需求

不懂的看链接

MSDN:Enumerable.Distinct 方法 (IEnumerable, IEqualityComparer)
​​​https://msdn.microsoft.com/zh-cn/library/bb338049(v=vs.110).aspx​