## LinkedList::end() method


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

```cpp
iterator System::Collections::Generic::LinkedList<T>::end() noexcept
```


### ReturnValue

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

## See Also

* Typedef [iterator](../iterator/)
* Class [LinkedList](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.PUB for C++](../../../)
## LinkedList::end() const method


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

```cpp
const_iterator System::Collections::Generic::LinkedList<T>::end() const noexcept
```


### ReturnValue

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

## See Also

* Typedef [const_iterator](../const_iterator/)
* Class [LinkedList](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.PUB for C++](../../../)
