| ExtensionsConcatT Method (T, T) |
Concatenates two arrays together creating a new array containing both arrays
Namespace:
Cauldron
Assembly:
Cauldron (in Cauldron.dll) Version: 3.2.0.2
Syntax public static T[] Concat<T>(
this T[] arrayA,
T[] arrayB
)
<ExtensionAttribute>
Public Shared Function Concat(Of T) (
arrayA As T(),
arrayB As T()
) As T()
public:
[ExtensionAttribute]
generic<typename T>
static array<T>^ Concat(
array<T>^ arrayA,
array<T>^ arrayB
)
Parameters
- arrayA
- Type: T
The first array - arrayB
- Type: T
The second array
Type Parameters
- T
- The element type of the array
Return Value
Type:
TA new array containing both arrays.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Exceptions See Also