# MoveNext()

> Advances the enumerator to the next value of the key.

## 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 [UnsafeParallelMultiHashMap\<TKey, TValue>.Enumerator.Current](/engine/6000.7/script-reference/unity/collections/lowlevel/unsafe/unsafeparallelmultihashmap2/enumerator/current.md) is valid to read after the call. |
