Returns True if the enumerator is at the end of the collection and False otherwise.
AtEnd method allows you to check if the end of the collection has been reached. A common way to enumerate the collection items is to use a
while loop with the
AtEnd method call in the loop condition.
True if the collection is empty or the enumerator is positioned at the end of the collection. Otherwise False.