public interface IReadOnlyList<T> extends Iterable<T>
Represents a read-only collection of elements that can be accessed by index.
| Modifier and Type | Method and Description |
|---|---|
T |
get_Item(int index)
Gets the element at the specified index in the read-only list.
|
int |
getCount()
Gets the number of elements contained in the collection.
|
forEach, iterator, spliteratorT get_Item(int index)
Gets the element at the specified index in the read-only list.
index - The zero-based index of the element to get.int getCount()
Gets the number of elements contained in the collection.
Copyright © 2026. All rights reserved.