end()

List::end() method

Gets iterator for a non-existent element behind the end of the collection.

iterator System::Collections::Generic::List<T>::end() noexcept

Return Value

An iterator pointing to the theoretical element placed after the end element in the list.

List::end() const method

Gets iterator for a non-existent element behind the end of the const-qualified collection.

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

Return Value

An iterator pointing to the theoretical element placed after the end element in the const-qualified instance of the list.

See Also