using System; namespace System.Collections.Generic { /// Defines methods to manipulate generic collections. /// The type of the elements in the collection. /// 1 // Token: 0x02000030 RID: 48 public interface ICollection : IEnumerable, IEnumerable { /// Gets the number of elements contained in the . /// The number of elements contained in the . // Token: 0x17000026 RID: 38 // (get) Token: 0x060004B2 RID: 1202 int Count { get; } /// Gets a value indicating whether the is read-only. /// true if the is read-only; otherwise, false. // Token: 0x17000027 RID: 39 // (get) Token: 0x060004B3 RID: 1203 bool IsReadOnly { get; } /// Adds an item to the . /// The object to add to the . /// The is read-only. // Token: 0x060004B4 RID: 1204 void Add(T item); /// Removes all items from the . /// The is read-only. // Token: 0x060004B5 RID: 1205 void Clear(); /// Determines whether the contains a specific value. /// true if is found in the ; otherwise, false. /// The object to locate in the . // Token: 0x060004B6 RID: 1206 bool Contains(T item); /// Copies the elements of the to an , starting at a particular index. /// The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. /// The zero-based index in at which copying begins. /// /// is null. /// /// is less than 0. /// The number of elements in the source is greater than the available space from to the end of the destination . // Token: 0x060004B7 RID: 1207 void CopyTo(T[] array, int arrayIndex); /// Removes the first occurrence of a specific object from the . /// true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . /// The object to remove from the . /// The is read-only. // Token: 0x060004B8 RID: 1208 bool Remove(T item); } }