Created
August 30, 2021 02:55
-
-
Save dsibinski/f40065534bf002dbdce0e834db636d3c 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
| class MyObject | |
| { | |
| public int Value { get; set; } | |
| } | |
| class MyCollection : IEnumerable<MyObject> | |
| { | |
| public IEnumerator<MyObject> GetEnumerator() | |
| { | |
| throw new NotImplementedException(); | |
| } | |
| IEnumerator IEnumerable.GetEnumerator() | |
| { | |
| return GetEnumerator(); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment