BinarySearch Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Searches a one-dimensional sorted Array for a value, using a binary search algorithm.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member BinarySearch(Array, Object, IComparer) Searches an entire one-dimensional sorted Array for a value using the specified IComparer interface.
Public method Static member BinarySearch(Array, Int32, Int32, Object, IComparer) Searches a range of elements in a one-dimensional sorted Array for a value, using the specified IComparer interface.
Top
Show: