Population<TSolution, TCandidate>.IndexOf Method

Determines the index of a specific item in the IList<T>.

Definition

Namespace: Numerics.NET.Optimization
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.0
C#
public int IndexOf(
	TCandidate item
)

Parameters

item  TCandidate
The object to locate in the IList<T>.

Return Value

Int32
The index of item if found in the list; otherwise, -1.

Implements

IList<T>.IndexOf(T)

See Also