ArrayExtensions.Append<T>
Extension Method in ArrayExtensions
Declaration
public static T[] Append<T>(this T[] array, T element)
Description
Appends an element to the end of the array.
Type Parameters
T | The type of the array. |
Parameters
array | The array to add the element to. |
element | The element to add. |
Returns
T[] | A new array with the added element. |