# MoveNext()

> Advances the enumerator to the next element of the list.

## Definition

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

```csharp
public bool MoveNext()
```

### Returns

| Type                                                          | Description                                        |
| ------------------------------------------------------------- | -------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if `Current` is valid to read after the call. |

### Remarks

The first `MoveNext` call advances the enumerator to the first element of the list. Before this call, `Current` is not valid to read.
