public static int BinarySearch <T, TComparable>( this ReadOnlySpan <T> span, TComparable comparable) where TComparable : IComparable <T> { return(SpanHelpers.BinarySearch(span, comparable)); }