EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.
Array.BinarySearch Method
.NET Framework 3.0
Searches a one-dimensional sorted Array for a value, using a binary search algorithm.
Array Members
System Namespace
IComparable
Sort
| Name | Description |
|---|---|
| Array.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. Supported by the .NET Compact Framework. |
| Array.BinarySearch (Array, Object, IComparer) | Searches an entire one-dimensional sorted Array for a value using the specified IComparer interface. |
| Array.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. |
| Array.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. Supported by the .NET Compact Framework. |
| Array.BinarySearch (T[], T) | Searches an entire one-dimensional sorted Array for a specific element, using the IComparable generic interface implemented by each element of the Array and by the specified object. Supported by the .NET Compact Framework. |
| Array.BinarySearch (T[], T, Generic IComparer) | Searches an entire one-dimensional sorted Array for a value using the specified IComparer generic interface. Supported by the .NET Compact Framework. |
| Array.BinarySearch (T[], Int32, Int32, T) | Searches a range of elements in a one-dimensional sorted Array for a value, using the IComparable generic interface implemented by each element of the Array and by the specified value. Supported by the .NET Compact Framework. |
| Array.BinarySearch (T[], Int32, Int32, T, Generic IComparer) | Searches a range of elements in a one-dimensional sorted Array for a value, using the specified IComparer generic interface. Supported by the .NET Compact Framework. |
Reference
Array ClassArray Members
System Namespace
IComparable
Sort