Linq Distinct 自定义比较
private class MyMenuComparer : IEqualityComparer
{
public bool Equals(ParMenu x, ParMenu y){ return x.parentColor == y.parentColor && x.parentMenu == y.parentMenu; }
public int GetHashCode(ParMenu obj) { return obj.parentMenu.Length; }
}