单项选择题

A.The method must return a type of either IEnumerator or IEnumerable.
B.The method must return a type of IComparable.
C.The method must explicitly contain a collection.
D.The method must be the only iterator in the class.