PROPERTY

IEnumerator<T>.Current

Reads the available element after a successful advance.

Formal Syntax & Structure

csharp syntaxcsharp
int value = cursor.Current;

Working Example

Example Snippetcsharp
// Documentary fragment; supply surrounding declarations as needed.int value = cursor.Current;
C# & .NET Reference