Represents a read-only collection of elements that can be accessed by index.
Readonly
Gets the element at the specified index in the read-only list.
The zero-based index of the element to get.
The element at the specified index in the read-only list.
Gets the number of elements in the collection.
The number of elements in the collection.
Casts this object to the specified type. Throws error on failure.
The target type of the cast.
The type of the object to cast.
The type to cast to.
Casts this object to the specified type. Returns null on failure.
Represents a read-only collection of elements that can be accessed by index.