======Метод IArraySortHelper.BinarySearch(TKey[], Int32, Int32, TKey, IComparer)====== * **Пространство имен:** [[developers:references:system.collections.generic|System.Collections.Generic]] * **Сборка:** mscorlib (в mscorlib.dll) =====Синтаксис===== public virtual int BinarySearch(TKey[] keys, int index, int length, TKey value, IComparer comparer) **Параметры** * //keys// * Тип: [[developers:references:system.collections.generic.tkey|System.Collections.Generic.TKey]][] * //index// * Тип: [[developers:references:system.int32|System.Int32]] * //length// * Тип: [[developers:references:system.int32|System.Int32]] * //value// * Тип: TKey * //comparer// * Тип: [[developers:references:system.collections.generic.icomparer_1|System.Collections.Generic.IComparer]] **Возвращаемое значение** * Тип: [[developers:references:system.int32|System.Int32]]