一款简单易用的基础网络通讯组件库。

ConcurrentListTBinarySearch(Int32, Int32, T, IComparerT) 方法

[缺少 "M:TouchSocket.Core.ConcurrentList`1.BinarySearch(System.Int32,System.Int32,`0,System.Collections.Generic.IComparer{`0})" 的 <summary> 文档]

Definition

命名空间: TouchSocket.Core
程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:4.0.0-beta.143+5fcca7a4e70968794985dc3793adc50531308be6
C#
public int BinarySearch(
	int index,
	int count,
	T item,
	IComparer<T> comparer
)

参数

index  Int32

[缺少 "M:TouchSocket.Core.ConcurrentList`1.BinarySearch(System.Int32,System.Int32,`0,System.Collections.Generic.IComparer{`0})" 的 <param name="index"/> 文档]

count  Int32

[缺少 "M:TouchSocket.Core.ConcurrentList`1.BinarySearch(System.Int32,System.Int32,`0,System.Collections.Generic.IComparer{`0})" 的 <param name="count"/> 文档]

item  T

[缺少 "M:TouchSocket.Core.ConcurrentList`1.BinarySearch(System.Int32,System.Int32,`0,System.Collections.Generic.IComparer{`0})" 的 <param name="item"/> 文档]

comparer  IComparerT

[缺少 "M:TouchSocket.Core.ConcurrentList`1.BinarySearch(System.Int32,System.Int32,`0,System.Collections.Generic.IComparer{`0})" 的 <param name="comparer"/> 文档]

返回值

Int32

[缺少 "M:TouchSocket.Core.ConcurrentList`1.BinarySearch(System.Int32,System.Int32,`0,System.Collections.Generic.IComparer{`0})" 的 <returns> 文档]

参见