摘要: OriginalArticle程序下载Often you want to be able to enumerate through a collection of objects using theforeachstatement in C#:Using foreach in C#foreach (Student student in myClass) Console.WriteLine(student);To be able to pull that off, myClass must implementIEnumerable:IEnumerable DefinedExposes th... 阅读全文
posted @ 2014-01-13 20:57 若愚Shawn 阅读(283) 评论(0) 推荐(0) 编辑