ReadOnlyCollection 泛型类

it2022-05-09  18

ReadOnlyCollection 泛型类的实例总是只读的。只读集合只是一个具有用于防止修改的包装的集合;因此,如果更改基础集合,则只读集合将反映那些更改。

using System; using System.Collections.Generic; using System.Collections.ObjectModel; public class Example { 阅读全文 类别: c# 语言参考  查看评论

转载于:https://www.cnblogs.com/coogle/archive/2008/07/18/1246142.html


最新回复(0)