Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
class MyObjectEnumerator : IEnumerator<MyObject>
{
public bool MoveNext()
{
throw new NotImplementedException();
}
public void Reset()
{
throw new NotImplementedException();
}
public MyObject Current { get; }
object IEnumerator.Current => Current;
public void Dispose()
{
throw new NotImplementedException();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment