Struct RangeEnumerator
Enumerates the indices of a
Namespace: X10D.Core
Assembly: X10D.dll
Syntax
public struct RangeEnumerator
Constructors
| Improve this Doc View SourceRangeEnumerator(Range)
Initializes a new instance of the RangeEnumerator structure.
Declaration
public RangeEnumerator(Range range)
Parameters
Type | Name | Description |
---|---|---|
Range | range | The range over which to enumerate. |
Properties
| Improve this Doc View SourceCurrent
Gets the element in the collection at the current position of the enumerator.
Declaration
public int Current { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The element in the collection at the current position of the enumerator. |
Methods
| Improve this Doc View SourceMoveNext()
Advances the enumerator to the next element of the collection.
Declaration
public bool MoveNext()
Returns
Type | Description |
---|---|
System.Boolean | true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. |