Enhanced C#
Language of your choice: library documentation
|
This interface models the capabilities of an array: getting and setting elements by index, but not adding or removing elements. More...
This interface models the capabilities of an array: getting and setting elements by index, but not adding or removing elements.
Member list:
Properties | |
new T | this[int index] [get, set] |
Gets or sets an element of the array-like collection. More... | |
Properties inherited from Loyc.Collections.IArraySink< T > | |
T | this[int index] [set] |
Public Member Functions | |
bool | TrySet (int index, T value) |
Public Member Functions inherited from Loyc.Collections.IListSource< T > | |
IRange< T > | Slice (int start, int count=int.MaxValue) |
Returns a sub-range of this list. More... | |
|
getset |
Gets or sets an element of the array-like collection.
This redundant indexer is required by C# because the compiler imagines that the setter in IArraySink<T> conflicts with the getter in IListSource<T>.