Skip to content

Instantly share code, notes, and snippets.

@dsibinski
Created August 30, 2021 03:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dsibinski/014116fc47bf9159dcfe3e44bb54b6fe to your computer and use it in GitHub Desktop.
Save dsibinski/014116fc47bf9159dcfe3e44bb54b6fe to your computer and use it in GitHub Desktop.
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