Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
System Namespace
Array Class
Array Methods
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
Array..::.BinarySearch Method

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

  NameDescription
0fxw5t8z.pubmethod(en-us,VS.90).gif0fxw5t8z.static(en-us,VS.90).gif0fxw5t8z.CFW(en-us,VS.90).gif0fxw5t8z.xna(en-us,VS.90).gifBinarySearch(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.
0fxw5t8z.pubmethod(en-us,VS.90).gif0fxw5t8z.static(en-us,VS.90).gif0fxw5t8z.CFW(en-us,VS.90).gif0fxw5t8z.xna(en-us,VS.90).gifBinarySearch<(Of <(T>)>)(array<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.
0fxw5t8z.pubmethod(en-us,VS.90).gif0fxw5t8z.static(en-us,VS.90).gifBinarySearch(Array, Object, IComparer) Searches an entire one-dimensional sorted Array for a value using the specified IComparer interface.
0fxw5t8z.pubmethod(en-us,VS.90).gif0fxw5t8z.static(en-us,VS.90).gif0fxw5t8z.CFW(en-us,VS.90).gif0fxw5t8z.xna(en-us,VS.90).gifBinarySearch<(Of <(T>)>)(array<T>[]()[], T, IComparer<(Of <(T>)>)) Searches an entire one-dimensional sorted Array for a value using the specified IComparer<(Of <(T>)>) generic interface.
0fxw5t8z.pubmethod(en-us,VS.90).gif0fxw5t8z.static(en-us,VS.90).gifBinarySearch(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.
0fxw5t8z.pubmethod(en-us,VS.90).gif0fxw5t8z.static(en-us,VS.90).gif0fxw5t8z.CFW(en-us,VS.90).gif0fxw5t8z.xna(en-us,VS.90).gifBinarySearch<(Of <(T>)>)(array<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.
0fxw5t8z.pubmethod(en-us,VS.90).gif0fxw5t8z.static(en-us,VS.90).gif0fxw5t8z.CFW(en-us,VS.90).gif0fxw5t8z.xna(en-us,VS.90).gifBinarySearch(Array, Int32, Int32, Object, IComparer) Searches a range of elements in a one-dimensional sorted Array for a value, using the specified IComparer interface.
0fxw5t8z.pubmethod(en-us,VS.90).gif0fxw5t8z.static(en-us,VS.90).gif0fxw5t8z.CFW(en-us,VS.90).gif0fxw5t8z.xna(en-us,VS.90).gifBinarySearch<(Of <(T>)>)(array<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.
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker