Click or drag to resize

CollectionExtensionsBinarySearch Method

Overload List
  NameDescription
Public methodStatic memberBinarySearchTCollection, TElement(ICollectionTCollection, TElement, FuncTCollection, TElement)
Find an element in a collection by binary searching. This requires the collection to be sorted on the values returned by getSubElement This will compare some derived property of the elements in the collection, rather than the elements themselves.
Public methodStatic memberBinarySearchTCollection, TElement(ICollectionTCollection, TElement, FuncTCollection, TElement, IComparerTElement)
Find an element in a collection by binary searching. This requires the collection to be sorted on the values returned by getSubElement This will compare some derived property of the elements in the collection, rather than the elements themselves.
Public methodStatic memberBinarySearchTCollection, TElement(ICollectionTCollection, TElement, FuncTCollection, TElement, Int32, Int32)
Find an element in a collection by binary searching. This requires the collection to be sorted on the values returned by getSubElement This will compare some derived property of the elements in the collection, rather than the elements themselves.
Public methodStatic memberBinarySearchTCollection, TElement(ICollectionTCollection, TElement, FuncTCollection, TElement, Int32, Int32, IComparerTElement)
Find an element in a collection by binary searching. This requires the collection to be sorted on the values returned by getSubElement This will compare some derived property of the elements in the collection, rather than the elements themselves.
Top
See Also