Пример #1
0
 public int CompareTo(IC that)
 {
     return(I > that.I ? 1 : I < that.I ? -1 : 0);
 }
Пример #2
0
 public bool Equals(IC that)
 {
     return(I == that.I);
 }
Пример #3
0
 public int Compare(IC a, IC b)
 {
     return(a.I > b.I ? 1 : a.I < b.I ? -1 : 0);
 }