DaysOfTheWeek : System.Collections.IEnumerable { [] m_Days = { , , , , , , }; System.Collections.IEnumerator GetEnumerator() { ( i = 0; i < m_Days.Length; i++) { m_Days[i]; } } } TestDaysOfTheWeek { Main() { DaysOfTheWeek week = DaysOfTheWeek(); ( day week) { System.Console.Write(day + ); } } }