Possible multiple enumeration of IEnumerable
摘要:
Consider the following code snippet:IEnumerable names = GetNames(); foreach (var name in names) name.Sur="Jim";foreach (var name in names) Console.Wr... 阅读全文
posted @ 2013-05-22 21:10 Clarence Yang 阅读(683) 评论(2) 推荐(0) 编辑