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#
true if item is found in the ICollection<T>; otherwise, false.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.0
public bool Contains(
TCandidate item
)
Parameters
- item TCandidate
- The object to locate in the ICollection<T>.
Return Value
Booleantrue if item is found in the ICollection<T>; otherwise, false.