Skip to content

ElementAt

Eugene Sadovoi edited this page Jul 7, 2016 · 1 revision

Returns the element at a specified index in a sequence.

Syntax

ElementAt(index)

Parameters

index

The zero-based index of the element to retrieve.

Return Value

The element at the specified position in the source sequence.

Remarks

If the type of source is an Array, index is used to obtain the element at the specified index. Otherwise, this method iterates the specified element.

Clone this wiki locally