Add the contents of the 2nd array to the 1st one.
If the 1st array is null, the 2nd array will be assigned to it.
Namespace:
Nova.Utilities
Assembly:
Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax public static void Add<T>(
ref T[] array1,
T[] array2
)
Parameters
- array1
- Type: T
The 1st array (can be null). - array2
- Type: T
The 2nd array (can be null).
Type Parameters
- T
- The element type of the arrays.
Remarks
This can't be an extension method because 'array1' must be a 'ref' parameter.
See Also