The IEnumerable<T> interface has a single method, GetEnumerator(), which returns an IEnumerator<T>.
While the yield keyword can be used to directly create an IEnumerable<T>, it can also be used in exactly the same way to create an IEnumerator<T>. The only thing that changes ...