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

ConcurrentListTItem 属性

Gets or sets the element at the specified index.

Definition

命名空间: TouchSocket.Core
程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:4.0.0-beta.143+5fcca7a4e70968794985dc3793adc50531308be6
C#
public T this[
	int index
] { get; set; }

参数

index  Int32
The zero-based index of the element to get or set.

返回值

T
The element at the specified index.

实现

IListTItemInt32
IReadOnlyListTItemInt32

异常

ArgumentOutOfRangeExceptionindex is not a valid index in the IListT.
NotSupportedExceptionThe property is set and the IListT is read-only.

参见