ImmutableArray<T>::Add Method (T)

 

Returns a copy of the original array with the specified item added to the end.

Namespace:   System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

public:
ImmutableArray<T> Add(
	T item
)

Parameters

item
Type: T

The item to be added to the end of the array.

Return Value

Type: System.Collections.Immutable::ImmutableArray<T>

A new array with the specified item added to the end.

Return to top
Show: