Skip to content

Instantly share code, notes, and snippets.

@dsibinski
Created August 30, 2021 03:20
Show Gist options
  • Select an option

  • Save dsibinski/014116fc47bf9159dcfe3e44bb54b6fe to your computer and use it in GitHub Desktop.

Select an option

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