Table of Contents

Method InsertArray

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

InsertArray(ConsoleKeyInfo[], ConsoleKeyInfo[], int)

Insert a ConsoleKeyInfo array into the another ConsoleKeyInfo array at the specified index.

public static ConsoleKeyInfo[] InsertArray(ConsoleKeyInfo[] toInsert, ConsoleKeyInfo[] cki, int index = 0)

Parameters

toInsert ConsoleKeyInfo[]

The array to insert.

cki ConsoleKeyInfo[]

The array where will be added the array.

index int

The start index to insert the array, default is 0.

Returns

ConsoleKeyInfo[]

The ConsoleKeyInfo array with another array inserted.