34 lines
508 B
C#
34 lines
508 B
C#
using System.Collections;
|
|
|
|
namespace DigitSequence;
|
|
|
|
public sealed class DigitEnumerator : IEnumerator<int>
|
|
{
|
|
// TODO
|
|
//private readonly int _number;
|
|
|
|
public DigitEnumerator(int number)
|
|
{
|
|
// TODO
|
|
}
|
|
|
|
public bool MoveNext()
|
|
{
|
|
// TODO
|
|
return false;
|
|
}
|
|
|
|
public void Reset()
|
|
{
|
|
// TODO
|
|
}
|
|
|
|
public int Current => -1; // TODO
|
|
|
|
object IEnumerator.Current => null!; // TODO
|
|
|
|
public void Dispose()
|
|
{
|
|
// TODO ?
|
|
}
|
|
}
|