Population<TSolution, TCandidate>.Contains Method

Determines whether the ICollection<T> contains a specific value.

Definition

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

Parameters

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

Return Value

Boolean
true if item is found in the ICollection<T>; otherwise, false.

Implements

ICollection<T>.Contains(T)

See Also