I am using a C # dictionary.
Dictionary<int, string> d = new Dictionary<int, string>();
I use the dictionary, because then I can have a unique key value and will be executed in the Dictionary.
The key value will be int. Before I needed only one value. Now everything has expanded to the point where I need to save several values (with different data types) for the same key.
Something like this (although this will not work):
Dictionary<int,string,string,bool, bool,int,bool> d = new Dictionary<int, string,string,bool, bool,int,bool>();
Note that row, row, bool, bool, int, bool are additional values that I like to store for the key field, which will be int.
I'm not sure how I will do this. How to get a key value for storing multiple values with different data types. On the way by which I see that it is possible, you need to save additional fields in the list, but I'm not sure how it all comes. If someone can provide an example to be appreciated.
Thanks in advance.