摘要:
View CodepublicclassDaysOfTheWeek:System.Collections.IEnumerable{string[]days={"Sun","Mon","Tue","Wed","Thr","Fri","Sat"};publicSystem.Collections.IEnumeratorGetEnumerator(){for(inti=0;i<days.Length;i++){yieldreturndays[i];}}}c 阅读全文
posted @ 2011-07-31 23:05
lance2008
阅读(330)
评论(0)
推荐(0)