Combines a series of arrays of the same type into a single array.

Namespace: System.Extensions
Assembly: System.Extensions (in System.Extensions.dll) Version: 0.0.0.5 (0.0.0.5)

Syntax

C#
public static T[] Combine<T>(
	params T[][] arrays
)
Visual Basic
Public Shared Function Combine(Of T) ( 
	ParamArray arrays As T()()
) As T()
Visual C++
public:
generic<typename T>
static array<T>^ Combine(
	... array<array<T>^>^ arrays
)
F#
static member Combine : 
        arrays : 'T[][] -> 'T[] 

Parameters

arrays
Type: array<array<T>[]()[][]>[]()[][]
The arrays to combine.

Type Parameters

T
The Type of the array.

Return Value

Type: array<T>[]()[][]
A single array of type T, with all of the contents of the arrays.

See Also