# ArrayUtility

> Helpers for builtin arrays.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static class ArrayUtility
```

## Static Methods

| Method                                                                                                   | Description                                                       |
| -------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- |
| [Add](/engine/6000.7/script-reference/unityeditor/arrayutility/add.md)                                   | Appends *item* to the end of *array*.                             |
| [AddRange](/engine/6000.7/script-reference/unityeditor/arrayutility/addrange.md)                         | Appends items to the end of array.                                |
| [ArrayEquals](/engine/6000.7/script-reference/unityeditor/arrayutility/arrayequals.md)                   | Compares two arrays.                                              |
| [ArrayReferenceEquals](/engine/6000.7/script-reference/unityeditor/arrayutility/arrayreferenceequals.md) | Compares two array references.                                    |
| [Clear](/engine/6000.7/script-reference/unityeditor/arrayutility/clear.md)                               | Clears the array.                                                 |
| [Contains](/engine/6000.7/script-reference/unityeditor/arrayutility/contains.md)                         | Determines if the array contains the item.                        |
| [FindIndex](/engine/6000.7/script-reference/unityeditor/arrayutility/findindex.md)                       | Find the index of the first element that satisfies the predicate. |
| [IndexOf](/engine/6000.7/script-reference/unityeditor/arrayutility/indexof.md)                           | Index of first element with value *value*.                        |
| [Insert](/engine/6000.7/script-reference/unityeditor/arrayutility/insert.md)                             | Inserts item *item* at position *index*.                          |
| [LastIndexOf](/engine/6000.7/script-reference/unityeditor/arrayutility/lastindexof.md)                   | Index of the last element with value *value*.                     |
| [Remove](/engine/6000.7/script-reference/unityeditor/arrayutility/remove.md)                             | Removes *item* from *array*.                                      |
| [RemoveAt](/engine/6000.7/script-reference/unityeditor/arrayutility/removeat.md)                         | Remove element at position *index*.                               |
