Get

Get<T>(int)

Returns the element’s value at the specified position.

public T Get<T>(int index)
ParameterDescription
TType of the return value.
indexThe zero-based index of the element to retrieve.

Return Value

The T value.

See Also


Get<T>(Index)

Returns the element’s value at the specified position.

public T Get<T>(Index index)
ParameterDescription
TType of the return value.
indexThe index of the element value to retrieve, which is either from the beginning or the end of the sequence.

Return Value

The T value.

See Also