# Add<T>(ref T[], T)

> Appends item to the end of array.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

## Add\<T>(\`\<>\[], T)

```csharp
public static void Add<T>(ref T[] array, T item)
```

### Parameters

**** (\[\<T>\[]]\(./)): **** (T):&#x20;
