I am trying to write a program that will use a data structure / class that will contain several data records for one key - this will somehow look like a dictionary, but this is not one to one, but one to many relationship. I am trying to think of a class that I can use, but I canβt understand anything.
For example, what it might look like:
I have an xValue parameter and 3 different values ββin different files, so I would:
xValue, <1.txt, 1> xValue, <2.txt, 2> xValue, <3.txt, 3>
Any ideas?
EDIT: I figured it out - after all, I can use
Dictionary< string , Dictionary<..., ... > >
is not it?
source share