ArrayExtensions.Concat<T>

Extension Method in ArrayExtensions

Declaration

public static T[] Concat<T>(this T[] array, T[] elements)

Description

Concats an array of elements to the end of the array.

Type Parameters

TThe type of the array.

Parameters

arrayThe array to add the elements to.
elementsThe elements to add.

Returns

T[]A new array with the added elements.