November 29th, 2012, 03:41 PM
Dispose of dictionary
I have a dictionary that I am using for a program and I would like to be able to close the dictionary without closing the form.
I have tried unload, dispose and everything I can think of.
The data is displayed in a listbox and a textbox. I can clear these but, of course, it doesn't release all of the variables. So if I try to reload the file I get a key already exists message.
So, is there any way to close the form data and release all of the key/value pairs?
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.