ListSegment<T>
public struct ListSegment<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, IReadOnlyList<T>, IReadOnlyCollection<T>
Delimits a section of a list.
Gets the number of elements in the segment.
Gets or sets element at the specified index.
Initializes a new segment of the list.
Determines whether this section contains a specified value.
Copies the elements in this section to an array.
Gets enumerator of elements in this section.
Determines the index of a specific item.
Attempts to get span over elements in this segment.