Created
May 23, 2022 12:24
-
-
Save lgolubyev/67f8c7c1f3afa581341987904c752f39 to your computer and use it in GitHub Desktop.
This file contains 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 IEnumerable<int> GetValuesGreaterThan100(List<int> masterCollection) | |
{ | |
foreach (var value in masterCollection) | |
{ | |
if (value > 100) | |
yield return value; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment