Table of Contents

Concat Method

Definition

Concat<T>(T[], T[])

Concatenates two arrays.

public static T[] Concat<T>(T[] args1, T[] args2)

Parameters

args1 T[]

The first array to concatenate.

args2 T[]

The array to concatenate to the first array.

Returns

T[]

A new array that contains the elements of args1 followed by the elements of args2.

Type Parameters

T

The type of the elements of the input arrays.