Method RangeFromTo
RangeFromTo(K, K)
Query this sorted collection for items between two supplied values.
The returned collection is not a copy but a view into the collection.
The view is fragile in the sense that changes to the underlying collection will invalidate the view so that further operations on the view throws InvalidView exceptions.
Declaration
IDirectedEnumerable<KeyValuePair<K, V>> RangeFromTo(K lowerBound, K upperBound)
Parameters
Type | Name | Description |
---|---|---|
K | lowerBound | The lower bound (inclusive). |
K | upperBound | The upper bound (exclusive). |
Returns
Type | Description |
---|---|
IDirectedEnumerable<KeyValuePair<K, V>> | The result directed collection. |