Array.BinarySearch Method
Searches a one-dimensional sorted Array for a value, using a binary search algorithm.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | BinarySearch(Array, Int32, Int32, Object) | Searches a range of elements in a one-dimensional sorted array for a value, using the IComparable interface implemented by each element of the array and by the specified value. |
![]() ![]() | 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. |
![]() ![]() | BinarySearch(Array, Object) | Searches an entire one-dimensional sorted array for a specific element, using the IComparable interface implemented by each element of the array and by the specified object. |
![]() ![]() | BinarySearch(Array, Object, IComparer) | Searches an entire one-dimensional sorted array for a value using the specified IComparer interface. |
![]() ![]() | BinarySearch(Of T)(T(), T) | Searches an entire one-dimensional sorted array for a specific element, using the IComparable(Of T) generic interface implemented by each element of the Array and by the specified object. |
![]() ![]() | BinarySearch(Of T)(T(), T, IComparer(Of T)) | Searches an entire one-dimensional sorted array for a value using the specified IComparer(Of T) generic interface. |
![]() ![]() | BinarySearch(Of T)(T(), Int32, Int32, T) | Searches a range of elements in a one-dimensional sorted array for a value, using the IComparable(Of T) generic interface implemented by each element of the Array and by the specified value. |
![]() ![]() | BinarySearch(Of T)(T(), Int32, Int32, T, IComparer(Of T)) | Searches a range of elements in a one-dimensional sorted array for a value, using the specified IComparer(Of T) generic interface. |

