Population<TSolution, TCandidate>.Item Property
Gets the element at the specified index in the read-only list.
Definition
Namespace: Numerics.NET.Optimization
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.5
C#
The element at the specified index in the read-only list.
IList<T>.Item[Int32]
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.5
public TCandidate this[
int index
] { get; set; }Parameters
- index Int32
- The zero-based index of the element to get.
Return Value
TCandidateThe element at the specified index in the read-only list.
Implements
IReadOnlyList<T>.Item[Int32]IList<T>.Item[Int32]
Exceptions
| Argument | index is not a valid index in the IList<T>. |
| Not | The property is set and the IList<T> is read-only. |