public void RemovePoints(SortedSet <KeyValueHolder <double, int> > rlist) { for (int i = _pointsList.Count - 1; i > -1; i--) { var test = new KeyValueHolder <double, int>(_pointsList[i].GetRoundTime()); if (rlist.Contains(test)) { _pointsList.RemoveAt(i); } } }
public int CompareTo(KeyValueHolder <TKey, TValue> other) { return(this.Key.CompareTo(other.Key)); }