| ExtensionsConcatT Method (T, T) |
Concats an item to an array creating a new array containing the original array and the item.
Namespace:
Cauldron
Assembly:
Cauldron (in Cauldron.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax public static T[] Concat<T>(
this T[] arrayA,
T item
)
Parameters
- arrayA
- Type: T
The array - item
- Type: T
The item to add to the array
Type Parameters
- T
- The element type of the array
Return Value
Type:
TA new array containing the original array and the item.
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