begin()

List::begin() method

Gets iterator to the first element of collection.

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

Return Value

An iterator pointing to the first element in the list.

List::begin() const method

Gets iterator to the first element of the const-qualified collection.

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

Return Value

An iterator pointing to the first element in the const-qualified instance of the list.

See Also