Interface IReadonlyRandomAccessList<T>
- Namespace
- AlgorithmsSW.List
- Assembly
- AlgorithmsSW.dll
Represents a read-only random access list that provides indexed access to its elements.
public interface IReadonlyRandomAccessList<T> : IEnumerable<T>, IEnumerable
Type Parameters
T
The type of elements in the list.
- Inherited Members
- Extension Methods
Properties
Count
Gets the number of elements in the list.
int Count { get; }
Property Value
IsEmpty
Gets a value indicating whether the list is empty.
bool IsEmpty { get; }
Property Value
this[int]
Gets or sets the element at the specified index in the list.
T this[int index] { get; }
Parameters
index
intThe zero-based index of the element to get or set.
Property Value
- T
The element at the specified index.