Name left, Name right) { if (left == null) return right != null; return !left.Equals(right); }這對相等性就夠了。Name 類別還有實作 IComparable<T>。
確定! 回上一頁