阅读背景:

为什么C#Arrays使用Enumeration的引用类型,但List 使用可变结构?

来源:互联网 

From what I've read, a design decision was made for certain Collections's Enumerator Types to be mutable structs instead of reference types for performance reasons. List.Enumerator is the most well known.From what I've read, a design decision was made




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: