阅读背景:

为什么ReadOnlyCollection <>包含FindAll(),FindFirst()等方法,

来源:互联网 

Following the suggestions of FxCop and my personal inclination I've been encouraging the team I'm coaching to use ReadOnlyCollections as much possible. If only so that recipients of the lists can't modify their content. In their theory this is bread & butter. The problem is that the List<> interface is much richer exposing all sorts of useful methods. Why did they make that choice?Following the suggestions of FxCop and my perso




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

分享到: