# AsArray()

> Returns a native array that aliases the content of this list.

## Definition

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

```csharp
public NativeArray<T> AsArray()
```

### Returns

| Type                                                                                 | Description                                           |
| ------------------------------------------------------------------------------------ | ----------------------------------------------------- |
| [NativeArray\<T>](/engine/6000.7/script-reference/unity/collections/nativearray1.md) | A native array that aliases the content of this list. |
