I have a dictionary containing the answers to the assessment as follows:
{
{"question1", "7"},
{"question1_comment", "pretty difficult"},
{"question2", "9"},
{"question2_comment", ""},
{"question3", "5"},
{"question3_comment", "Never on time"},
}
but I need to combine the rating item with the comment item into an object as follows
{
{"question1", "7", "pretty difficult"},
{"question2", "9", ""},
{"question3", "5", "Never on time"},
}
It seems to me that I need to use the Aggregate method for this, but I do not know where to start.
source
share