Hello all
I have two complex dictionaries in the form
Dictionary<string, Dictionary<string, Dictionary<string, List<string>>>>
So as you see i've inner dictionaries. I want to write a generic recursive function which can merge two complex dictionaries of this form (or any other complex form of dictionaries), by calling itself passing the inner dictionaries (which are of different structure). This question also has another part. How to append one dictionary to other without looping?
A bit more explanation
This dictionary holds LIST OF MESSAGES sent BY A USER chatting in a SPECIFIC GROUP CHAT SESSION to a SPECIFIC USER (read the sentence and interpret the dictionary from the end). So i've two dictionaries of this form. As soon as i dispatch the message to a user i remove it from the dictionary. But i want to have history of messages. So before removing it i just make a copy by appending it to another dic which contains all the messages, in all chat sessions, from all users, to all users till now!
Note: I'm not blessed to use LINQ.
Thank you
NLV