© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
28 replies
Ewan

✅ Check if an item is in a list

For this if statement, how do i make it so if the parameter customer is not in the list, then it adds it to the list
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

WPF Acquiring an Item clicked in a ListBox
C#CC# / help
2y ago
❔ How can I check if any element of a list is in another list?
C#CC# / help
4y ago
❔ ✅ Hey is there a way to check if something is in a list in a certain range from the list ?
C#CC# / help
3y ago
How do I check if a list in an IConfiguration has any values [Answered]
C#CC# / help
4y ago