C
C#2y ago
morry329#

❔ System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary

I have a code which was supposed to read csv data and return the content of columns (like "braun," "ja" etc, please see the screenshot) - once I run the code and enter any value that exists on .csv, I get KeyNotFoundException. Here is my driver code https://github.com/morry239/HashTableRedBook/blob/master/ZIPCodeSearch/ZIPCodeSearch.cs And the Main https://github.com/morry239/HashTableRedBook/blob/master/ZIPCodeSearch/Program.cs Could anyone kindly point me in the right direction? I have no idea why the key does not 'exist' in there.
GitHub
HashTableRedBook/ZIPCodeSearch.cs at master · morry239/HashTableRed...
Contribute to morry239/HashTableRedBook development by creating an account on GitHub.
GitHub
HashTableRedBook/Program.cs at master · morry239/HashTableRedBook
Contribute to morry239/HashTableRedBook development by creating an account on GitHub.
1 Reply
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server