Click or drag to resize

CollectionAlgorithmsBinarySearch Method

Overload List
  NameDescription
Public methodStatic memberBinarySearchT(IListT, T)
Public methodStatic memberBinarySearchT(IListT, T, IComparerT)
Public methodStatic memberBinarySearchTListItem, TMatchItem(IListTListItem, TMatchItem, CollectionAlgorithmsComparisonOfDifferentTypesTListItem, TMatchItem)
Uses a binary search algorithm to locate a specific element in the sorted IListT. The element to search for can be a different type from the items in the collection.
Public methodStatic memberBinarySearchT(IListT, T, IComparerT, Int32, Int32)
Public methodStatic memberBinarySearchTListItem, TMatchItem(IListTListItem, TMatchItem, CollectionAlgorithmsComparisonOfDifferentTypesTListItem, TMatchItem, Int32, Int32)
Uses a binary search algorithm to locate a specific element in the sorted IListT. The element to search for can be a different type from the items in the collection.
Top
See Also