阅读背景:

用于公开成员集合的ReadOnlyCollection或IEnumerable ?

来源:互联网 

Is there any reason to expose an internal collection as a ReadOnlyCollection rather than an IEnumerable if the calling code only iterates over the collection?Is there any reason to expose an internal colle




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

分享到: