Created
May 23, 2022 12:23
-
-
Save lgolubyev/8eb4ee838b6d3d0020310d2666b2f3ce 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 List<int> GetValuesGreaterThan100(List<int> masterCollection) | |
{ | |
List<int> tempResult = new List<int>(); | |
foreach (var value in masterCollection) | |
{ | |
if (value > 100) | |
tempResult.Add(value); | |
} | |
return tempResult; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment