2010年6月12日
摘要: 转自:http://www.cnblogs.com/jackhuclan/archive/2008/01/10/1033042.html代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--classProgram{staticvoidMain(stri... 阅读全文
posted @ 2010-06-12 16:30 红叶林 阅读(345) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2010-06-12 14:38 红叶林 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 实现IEnumerable接口的类,可以支持foreach循环遍历对象的集合元素IEnumerable:IEnumerator GetEnumerator()返回可循环访问集合的枚举数。IEnumerator:object Current获取集合中的当前元素。bool MoveNext()将枚举数推进到集合的下一个元素。如果枚举数成功地推进到下一个元素,则为 true;如果枚举数越过集合的结尾,则... 阅读全文
posted @ 2010-06-12 08:44 红叶林 阅读(178) 评论(0) 推荐(0) 编辑