/// <summary> /// Get item with maximum key /// </summary> /// <returns> /// Contained item with maximum key or <see langword="null"/> if the collection is empty /// </returns> public V GetMax() { if (this.Count > 0) { return(_dictionary.FindMax().Value); } return(default(V)); }
public double getHighestAsk() { return((double)_asks.FindMax().Key); }
public double getHighestBid() { return((double)_bids.FindMax().Key); }