ReadOnlyCollection<T> public class ReadOnlyCollection<T> : ICollection<T>, IEnumerable<T>, IEnumerable, IList<T>, IReadOnlyCollection<T>, IReadOnlyList<T>, ICollection, IList Documentation public int Count { get; } public T this[int index] { get; } protected IList<T> Items { get; } public ReadOnlyCollection(IList<T> list) public bool Contains(T value) public void CopyTo(T[] array, int index) public IEnumerator<T> GetEnumerator() public int IndexOf(T value)