C#C
C#3y 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.
Bildschirmfoto_2023-03-09_um_21.38.03.png
GitHub
Contribute to morry239/HashTableRedBook development by creating an account on GitHub.
GitHub
Contribute to morry239/HashTableRedBook development by creating an account on GitHub.
Was this page helpful?