Population<TSolution, TCandidate>.Remove Method

Removes the first occurrence of a specific object from the ICollection<T>.

Definition

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

Parameters

item  TCandidate
The object to remove from the ICollection<T>.

Return Value

Boolean
true if item was successfully removed from the ICollection<T>; otherwise, false. This method also returns false if item is not found in the original ICollection<T>.

Implements

ICollection<T>.Remove(T)

Exceptions

See Also