Summary
Resizes the `array` to be 1 larger and inserts the `item` at the specified `index`.
- Assembly
- PlatformerGameKit
.dll - Namespace
- PlatformerGameKit
- Containing Type
- PlatformerUtilities
Syntax
public static void InsertAt<T>(ref T[] array, int index, T item)
Type Parameters
Name | Description |
---|---|
T |
Parameters
Name | Type | Description |
---|---|---|
array | T[] | |
index | int | |
item | T |
Return Value
Type | Description |
---|---|
void |