end()

IEnumerable::end() method

Gets iterator pointing right after the last element (if any) of the collection. This iterator can’t be used to change a referenced object because GetEnumerator() returns a copy-object of T.

iterator System::Collections::Generic::IEnumerable<T>::end()

Return Value

An iterator pointing right after the last element (if any) of the collection

IEnumerable::end() const method

Gets iterator pointing right after the last element (if any) of the const-qualified instance of the collection.

const_iterator System::Collections::Generic::IEnumerable<T>::end() const

Return Value

An iterator pointing right after the last element (if any) of the const-qualified instance of the collection

See Also