© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
9 replies
turner

Dictionary cant find via ContainsKey but it does exist

Am i dumb or are dictionaries broken
How could this even happen?
I see via the debugger that the key i want is in the dictionary but when i use ContainsKey it doesnt find it, huh? Im real confused
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

✅ How does dictionary.ContainsKey() work?
C#CC# / help
4mo ago
ContainsKey
C#CC# / help
3y ago
❔ Cant Find Key Type Byte In Dictionary?
C#CC# / help
3y ago
syntax error somewhere but i cant find it
C#CC# / help
2y ago