I would like to remove a {key,value} pair from a dictionary without using any external packages like the Microsoft package that has these capabilities. I have the key I need to remove but am unsure on how I should actually remove the key and value from the dictionary.
I am getting the error " For Each: Collection was modified; enumeration operation may not execute.". I am not sure why am I getting this error because I am using 2 separate dictionaries. One to iterate over and one to actually delete the keys from. Is there a way to get around this?