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#
public TCandidate this[
	int index
] { get; set; }

Parameters

index  Int32
The zero-based index of the element to get or set.

Return Value

TCandidate
The element at the specified index.

Implements

IList<T>.Item[Int32]

Exceptions

ArgumentOutOfRangeExceptionindex is not a valid index in the IList<T>.
NotSupportedExceptionThe property is set and the IList<T> is read-only.

See Also