Class EnumeratorExtensions
Extensiones para todos los tipos que implementen IEnumerator.
Inherited Members
Namespace: TheXDS.MCART.Types.Extensions
Assembly: MCART.dll
Syntax
public static class EnumeratorExtensions
Methods
| Edit this page View SourceSkip(IEnumerator, int)
Advances the enumerator a specified number of elements.
Declaration
public static int Skip(this IEnumerator enumerator, int steps)
Parameters
Type | Name | Description |
---|---|---|
IEnumerator | enumerator | Enumerator to iterate. |
int | steps | Number of elements to skip. |
Returns
Type | Description |
---|---|
int | The number of elements successfully skipped. |
Exceptions
Type | Condition |
---|---|
ArgumentOutOfRangeException | Thrown if |