public int CompareTo(object obj) { if (obj == null) { return(1); } var m = obj as FeeRate; if (m != null) { return(this._FeePerK.CompareTo(m._FeePerK)); } #if !NETCORE return(_FeePerK.CompareTo(obj)); #else return(this._FeePerK.CompareTo((long)obj)); #endif }
public int CompareTo(FeeRate other) { return(other is null ? 1 : _FeePerK.CompareTo(other._FeePerK)); }