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

ConcurrentListTBinarySearch(T, IComparerT) 方法

Searches the entire sorted ListT for an element using the specified comparer and returns the zero-based index of the element.

Definition

命名空间: TouchSocket.Core
程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
C#
public int BinarySearch(
	T item,
	IComparer<T> comparer
)

参数

item  T
comparer  IComparerT

返回值

Int32

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

参见