摘要:
C#的集合功能可谓十分强大,这里着重探讨集合中非常重要的两个接口:IEnumerableT和IEnumeratorT. 首先查看如下代码:代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1classStudent2{3publicint_id;4publicstring_name;56publicStudent(intid,stringname)7{8this._id=id;9this._name=name;10}1112publi 阅读全文