Click or drag to resize
ListTInsert Method

Namespace: System.Collections.Generic
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public void Insert(
	int index,
	T item
)

Parameters

index
Type: SystemInt32
The zero-based index at which item should be inserted.
item
Type: T
The object to insert. The value can be null for reference types.

Implements

IListTInsert(Int32, T)
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionindex is less than 0.-or-index is greater than Count.
See Also