Partager 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 the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

Array Class
Array Members
System Namespace