Inserts an item into the array at the specified position.

 

   

Syntax
 

[C#]
virtual void Insert(int index, T value)

[Visual Basic]
Overridable Function Insert(index As int, value As T) As void

 

Throws Exceptions ArgumentOutOfRangeException: Thrown if the index provided is not valid.

 

   

Params
 
Name Description
index The zero-based index at which the value should be inserted.
value The items to insert into the array.

 

   

Notes
 

Inserts an item into the array at the specified position.

If the index equals the number of items in the array then the items is appended to the end.

If the type indicated is string then a null string will be interpreted as an empty string.

If the type indicated is a double? then a null value will be interpreted as a NullAtom.

All other types are non-nullable.

 

   

Example
 
None.