-
-
Save chrisza4/4d7aeaf54d09dad475a2295efecd0af4 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 IEnumerable<T> | |
| { | |
| private List<T> data; | |
| public T Where((func T => bool) filterFunc) | |
| { | |
| for (var d in data) { | |
| if (filterFunc(d)) return d; | |
| } | |
| return null; | |
| } | |
| } |
chrisza4
commented
May 5, 2020
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment