© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
7 replies
Acorn

❔ Put results of LINQ query into collection

I'm trying to put the results of my query into collection filteredItems, and then use a foreach to loop through it and display the items in the collection. How would I do this?
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ Returning (Collection) from LINQ Query
C#CC# / help
3y ago
❔ Return groups of results using LINQ?
C#CC# / help
4y ago
✅ LINQ, simple query
C#CC# / help
2y ago
❔ Linq Query HELP
C#CC# / help
3y ago