M
Mike
Hello guys, how are you?
I implemented a class called MyDictionary that inherits from DictionaryBase.
The thing is that my class, cannot handle a duplicate value in the "keys"
Like;
Dim md as New MyDictionary
md.add("Mike", Object1)
md.add("Mike", Object2)
This will generate an error during compilation, because I cannot add Mike
two times to the collection, we all know that.
I need to come up with something (like a custom made collection or
structure) that allow me to do this.
I need a key (string type, can be duplicate) and a value (object type, like
an instance of another class).
Could you please help me on this, any example will be highly appreciated!
Mike
I implemented a class called MyDictionary that inherits from DictionaryBase.
The thing is that my class, cannot handle a duplicate value in the "keys"
Like;
Dim md as New MyDictionary
md.add("Mike", Object1)
md.add("Mike", Object2)
This will generate an error during compilation, because I cannot add Mike
two times to the collection, we all know that.
I need to come up with something (like a custom made collection or
structure) that allow me to do this.
I need a key (string type, can be duplicate) and a value (object type, like
an instance of another class).
Could you please help me on this, any example will be highly appreciated!
Mike