# ArraySegmentEnumerator.MoveNext

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.buffers.arcbuffer.arraysegmentenumerator/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.buffers.arcbuffer.arraysegmentenumerator/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Serialization/Buffers/ArcBufferWriter.cs#L1845-L1852)

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

Advances the enumerator to the next element of the collection.

### Returns

`true` if the enumerator was successfully advanced to the next element; `false` if the enumerator has passed the end of the collection.
