07-09-2020
02:52 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
07-09-2020
02:52 PM
As soon as you new up the dictionary, it wont be null, it will be empty and you will be able to add to it, as long as the key you are adding is not null or duplicate.
You do not want to set it to null or nothing after it has been new'd up other wise you wont be able to add to it and you will get a null excepton, you just want to clear() it out.
Im just looking at the CreateEmptyDictionary() is this where it is failing, what was the error message it may leave some clues
Was my reply Helpful ? send a Kudos or accept as solution