System::Collections::Generic::IEnumerable::LINQ_ElementAtOrDefault method

IEnumerable::LINQ_ElementAtOrDefault method

Returns the element at a specified index in a sequence.

T System::Collections::Generic::IEnumerable<T>::LINQ_ElementAtOrDefault(int index)
ParameterTypeDescription
indexintIndex to get element at.

ReturnValue

Element at specified index or default-constructed value if not found.

See Also