Population<TSolution, TCandidate>.Insert Method
Inserts an item to the IList<T> at the specified index.
Definition
Namespace: Numerics.NET.Optimization
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.0
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.0
public void Insert(
int index,
TCandidate item
)
Parameters
- index Int32
- The zero-based index at which item should be inserted.
- item TCandidate
- The object to insert into the IList<T>.
Implements
IList<T>.Insert(Int32, T)Exceptions
Argument | index is not a valid index in the IList<T>. |
Not | The IList<T> is read-only. |