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.ISinkArray< T > | |
T | this[int index] [set] |
Public Member Functions | |
bool | TrySet (int index, T value) |
Public Member Functions inherited from Loyc.Collections.IListSource< out T > | |
T | TryGet (int index, out bool fail) |
Gets the item at the specified index, and does not throw an exception on failure. More... | |
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 ISinkArray{T} conflicts with the getter in IListSource{T}.