public int CompareTo(object other) { RefreshRate refreshRate = (RefreshRate)other; if (refreshRate == null) { return(1); } return(this.Value.CompareTo(refreshRate.Value)); }
public override bool Equals(object obj) { RefreshRate toCompare = (RefreshRate)obj; return(Value == toCompare.Value); }