Population<TSolution, TCandidate>.Item Property
Gets or sets the element at the specified index.
Definition
Namespace: Numerics.NET.Optimization
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.0
C#
The element at the specified index.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.0
public TCandidate this[
int index
] { get; set; }
Parameters
- index Int32
- The zero-based index of the element to get or set.
Return Value
TCandidateThe element at the specified index.
Implements
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. |