Skip to content

Instantly share code, notes, and snippets.

@lgolubyev
Created Nov 18, 2022
Embed
What would you like to do?
List<int> tempResult = new();
foreach(var item in collection)
{
tempResult.Add(item);
}
return tempResult;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment