C# Albert工程阅读关键字解析

    // 摘要:
    //     为强类型集合提供 abstract 基类。
    [Serializable]
    [ComVisible(true)]
    public abstract class CollectionBase : IList, ICollection, IEnumerable

system.Collections.CollectionBase类主要显示的实现ICollection和IList接口和IEnumerable接口。

但只提供了一些要求的执行代码,特别是IList的Clear()和RemoveAt()方法,以及ICollection 的 Count属性,如果要使用提供的功能,就需要自己执行其他代码。

ref是传递参数的地址,out是返回值

override 方法提供从基类继承的成员的新实现。由 override 声明重写的方法称为重写基方法。

System.Collections.Queue类表示对象的先进先出集合,存储在 Queue(队列) 中的对象在一端插入,从另一端移除。

上一篇:VS2010调用VLFeat


下一篇:【Linux高频命令专题(5)】rmdir