Share via


Array.BinarySearch Method

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

Overload List

Name Description
Array.BinarySearch (Array, Int32, Int32, Object, IComparer) Searches a specified range within a one-dimensional sorted array for a specified value, using the specified IComparer interface.
Array.BinarySearch (Array, Object, IComparer) Searches an entire one-dimensional sorted array for a specified value, using the specified IComparer interface.

Version Information

Available in .NET Micro Framework version 2.0, 2.5

See Also

Reference

Array Class
Array Members
System Namespace