Returns the current item in the collection.
Item method to obtain the current item in the collection. Note that
Item does not move the enumerator position; the
MoveNext method is used for this.
If the collection is empty or the enumerator is positioned at the end of the collection, the
Item method throws an exception. To check if the end of the collection has been reached, use the
The current item in the collection.