D
dox
Hello,
I'm having trouble using Dictionary classe. I want to use a Dictionary as a
key for another Dictionary. The following code gives a sample of what I'm
talking about.
Dictionary myDates = new Dictionary<Dictionary<string, string>, DateTime>();
The 'Add' or 'ContainsKey' methods need a Dictionary<string, string> as a
(first) parameter, but how to pass this kind of parameter without
instanciating another Dictionary<string, string> variable.
Any suggestion ?
Thanks
I'm having trouble using Dictionary classe. I want to use a Dictionary as a
key for another Dictionary. The following code gives a sample of what I'm
talking about.
Dictionary myDates = new Dictionary<Dictionary<string, string>, DateTime>();
The 'Add' or 'ContainsKey' methods need a Dictionary<string, string> as a
(first) parameter, but how to pass this kind of parameter without
instanciating another Dictionary<string, string> variable.
Any suggestion ?
Thanks