using System; using System.Collections; namespace Cobilas.Collections { /// Defines size, enumerators, and synchronization methods for all long non-generic collections. public interface ILongCollection : IEnumerable { /// Gets the number of elements contained in the . long Count { get; } /// Gets a value indicating whether access to the is synchronized (thread safe). bool IsSynchronized { get; } /// Gets an object that can be used to synchronize access to the . object SyncRoot { get; } /// Copies the elements of the to an Array, starting at a particular Array index. /// The one-dimensional Array that is the destination of the elements copied from ICollection. The Array must have zero-based indexing. /// The zero-based index in array at which copying begins. void CopyTo(Array array, long index); } }