© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
27 replies
superbobface

❔ Exclude items from linq query if they contain one from an array of substrings

I've got a list of strings, that if they appear anywhere in a linq query column i want to exclude the row. I can find loads of examples of exact matches, or where the column value appears in a list, but not the other way around, and I can't figure it out
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

✅ Returning (Collection) from LINQ Query
C#CC# / help
3y ago
✅ LINQ, simple query
C#CC# / help
2y ago
❔ Linq Query HELP
C#CC# / help
3y ago
✅ LINQ get items with priority
C#CC# / help
3y ago