METHOD

IEnumerator<T>.MoveNext

Advances an enumerator and reports whether an element exists; inherited from IEnumerator.

Formal Syntax & Structure

csharp syntaxcsharp
bool hasNext = cursor.MoveNext();

Working Example

Example Snippetcsharp
// Documentary fragment; supply surrounding declarations as needed.bool hasNext = cursor.MoveNext();
C# & .NET Reference