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