Hi,
In perl I can create a hash of hash which would have something like
$MYHASH{'USER1'}{'SPORT'}{'FOOTBALL'} =1
$MYHASH{'USER1'}{'SPORT'}{'TENNIS'} =1
http://docstore.mik.ua/orelly/perl/prog3/ch09_04.htm shows a type of example on the perl page.
This way I can loop through the users and the sports and find out what sports they are associated to.
How can I create a similar stucture in c Sharp, I have been looking at hashtables but they only show my key <=> values. Where I need to have a key with an array of values that I can index in on.
Can anyone help here please or point me to some examples ?
Thanks in advance.