© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
5 replies
N0mlss

❔ How can I check if any element of a list is in another list?

I know i could do it with a for loop, but it seems overkill to do something that simple :/
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

✅ Check if an item is in a list
C#CC# / help
2y ago
How do I check if a list in an IConfiguration has any values [Answered]
C#CC# / help
4y ago
✅ How to check whether a given list is present in the List of list
C#CC# / help
4y ago