Exemplo n.º 1
0
 public bool Equals(ScoredOption <TOption> other)
 {
     return(score == other.score);
 }
Exemplo n.º 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)));
 }