Created
April 26, 2021 17:10
-
-
Save aalmada/ec63e08fb358c741321c35c2d0e75555 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Enumerable<T> | |
{ | |
public Enumerable<T> GetEnumerator() | |
=> this; | |
public T Current | |
=> default; | |
public bool MoveNext() | |
=> default; | |
} | |
public class AsyncEnumerable<T> | |
{ | |
public AsyncEnumerable<T> GetAsyncEnumerator() | |
=> this; | |
public T Current | |
=> default; | |
public ValueTask<bool> MoveNextAsync() | |
=> default; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment