I ask this question because I have no idea of what class/api to use to achievement what I want.
I have 2 string association, but I need a way that doesnt require to know these 2 association string value to be called via a 3rd value.
I thought of a 3d array first, but I wanted to know if there was something faster and already built to be used in C#. I thought of a Dictionnary at first, but figured you had to know the key value.
So any idea?
EDIT: Here more details…
I have for example a list of
apple, apple juice
banana, banana juice
orange, citrus juice
lemon, citrus juice
…
Now within another programme there is the fruits and I need to transform them into the appropriate juice. So i need to go throu all the list.
You don’t need the key to iterate through a dictionary. However, the order in which you’ll recieve the information will most likely not be the same as the one you entered it into if you only use the value.
that being said, can you be most specific about your need. I’m not sure I understand what you want to do.