iterator iterator Code snippet for a simple iterator Microsoft Corporation Expansion
type ElementType Type to return from the iterator SystemCollectionsGenericIEnumeratorG System.Collections.Generic.IEnumerator Exception SimpleTypeName(global::System.NotImplementedException) GetEnumerator() { $end$throw new $Exception$(); yield return default($type$); }]]>