Returns an enumerator that iterates through a collection.
Implements xtd::collections::generic::ienumerable< type_t >.