以.NET Framework 2.0 System.Collections中类为例
System.Collections. IEnumerablepublic interface IEnumerable{ IEnumerator GetEnumerator();}System.Collections.ICollectionpublic interface ICollection : IEnumerable{ int Count { get; } bool IsSynchronized { get; } object SyncRoot { get; } void CopyTo(Array array, int index);}