예제 #1
0
 public bool Equals(ScoredOption <TOption> other)
 {
     return(score == other.score);
 }
예제 #2
0
 public int CompareTo(ScoredOption <TOption> other)
 {
     //  Current instance is greater than object being compared too.
     //if (other == null) return 1;
     return(this.score.CompareTo((other.score)));
 }