# INativeList<T>

> A resizable list.

## Definition

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

```csharp
public interface INativeList<T> : IIndexable<T> where T : unmanaged
```

## Properties

| Property                                                                               | Description                                                |
| -------------------------------------------------------------------------------------- | ---------------------------------------------------------- |
| [Capacity](/engine/6000.7/script-reference/unity/collections/inativelist1/capacity.md) | The number of elements that fit in the current allocation. |
| [IsEmpty](/engine/6000.7/script-reference/unity/collections/inativelist1/isempty.md)   | Whether this list is empty.                                |
| [this\[\]](/engine/6000.7/script-reference/unity/collections/inativelist1/item.md)     | The element at an index.                                   |

## Methods

| Method                                                                           | Description           |
| -------------------------------------------------------------------------------- | --------------------- |
| [Clear](/engine/6000.7/script-reference/unity/collections/inativelist1/clear.md) | Sets the length to 0. |

## Inheritance

**Inherited Members:**

* [IIndexable\<T>.ElementAt(int)](/engine/6000.7/script-reference/unity/collections/iindexable1/elementat.md)
* [IIndexable\<T>.Length()](/engine/6000.7/script-reference/unity/collections/iindexable1/length.md)
