Greetings,
my objective is to create a Dictionary<string, string>
(or Dictionary<string, List<string>>
), adding elements to it from a List<string>
. The first string of the list should be the key of the dictionary, the other strings the value.
For example:
List<string> list = new List<string>() { "key1", "value_x1", "value_x2", ... };