ListSegment<T> public struct ListSegment<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, IReadOnlyList<T>, IReadOnlyCollection<T> Documentation Code public int Count { get; } public T this[int index] { get; set; } public ListSegment(IList<T> list, Range range) public bool Contains(T item) public void CopyTo(T[] array, int arrayIndex) public IEnumerator<T> GetEnumerator() public int IndexOf(T item)