# Extensions

> Provides some extension methods for various collections.

## Definition

* **Type:** Class
* **Namespace:** [Unity.Collections.NotBurstCompatible](/engine/6000.7/script-reference/unity/collections/notburstcompatible.md)
* **Assembly:** UnityEngine.ManagedKernelModule

```csharp
public static class Extensions
```

## Static Methods

| Method                                                                                                        | Description                                                                 |
| ------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
| [CopyFromNBC](/engine/6000.7/script-reference/unity/collections/notburstcompatible/extensions/copyfromnbc.md) | Clears this list and then copies all the elements of an array to this list. |
| [ToArray](/engine/6000.7/script-reference/unity/collections/notburstcompatible/extensions/toarray.md)         | Returns a new managed array with all the elements copied from a set.        |
| [ToArrayNBC](/engine/6000.7/script-reference/unity/collections/notburstcompatible/extensions/toarraynbc.md)   | Returns a new managed array which is a copy of this list.                   |
