Skip to content

Overload_CodeJam_Collections_ArrayExtensions_BinarySearch

Andrew Koryavchenko edited this page Jul 4, 2017 · 3 revisions

ArrayExtensions.BinarySearch Method

Overload List

 

Name Description
Public methodStatic member BinarySearch(T)(T[], T) Searches an entire one-dimensional sorted Array for a specific element, using the IComparable(T) generic interface implemented by each element of the Array and by the specified object.
Public methodStatic member BinarySearch(T)(T[], T, IComparer(T)) Searches an entire one-dimensional sorted Array for a value using the specified IComparer(T) generic interface.
Public methodStatic member BinarySearch(T)(T[], Int32, Int32, T) Searches a range of elements in a one-dimensional sorted Array for a value, using the IComparable(T) generic interface implemented by each element of the Array and by the specified value.
Public methodStatic member BinarySearch(T)(T[], Int32, Int32, T, IComparer(T)) Searches a range of elements in a one-dimensional sorted Array for a value, using the specified IComparer(T) generic interface.
  Back to Top

See Also

Reference

ArrayExtensions Class
CodeJam.Collections Namespace

Clone this wiki locally