Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

System.Collections.Generic.ListExtensions.BinaryIntervalSearch

Morten Aune Lyrstad edited this page Apr 16, 2022 · 29 revisions

IndexNamespace IndexListExtensions

Summary

public static int BinaryIntervalSearch<T>(this IList<T> self, T value, IComparer<T> comparer = default)

Returns

int

Parameters

Summary

public static int BinaryIntervalSearch<T>(this IList<T> self, Func<T, bool> less)

Returns

int

Parameters

Summary

public static int BinaryIntervalSearch<T>(this IList<T> self, T value, Comparison<T> comparison)

Returns

int

Parameters

  • IList<T> self
  • T value
  • Comparison<T> comparison
Clone this wiki locally