IEnumerator Method() { // iterator block Type t; ... yield return t; ... }