HighAndWilder
Active Member
- Joined
- Nov 4, 2006
- Messages
- 398
- Office Version
- 365
- Platform
- Windows
Hi All
I have a dictionary with items made up of arrays.
Before I add another dictionary item I want to check whether an item already exists with the same values in the array.
I can loop through the existing dictionary items and each element of the arrays but I'd like to use the 'exists' dictionary method.
All I can think to do is make the key a concatenated string made up of the array elements.
It seems a bit clumsy but maybe that is the accepted way.
Does anybody know a better way?
Thanks
I have a dictionary with items made up of arrays.
Before I add another dictionary item I want to check whether an item already exists with the same values in the array.
I can loop through the existing dictionary items and each element of the arrays but I'd like to use the 'exists' dictionary method.
All I can think to do is make the key a concatenated string made up of the array elements.
It seems a bit clumsy but maybe that is the accepted way.
Does anybody know a better way?
Thanks