I am writing a program where I need to swap values from nested list. Here is what I am looking for example:
Let's say I have a List<object[]>
where these list contains two rows as below:
{"id1", "id2", "id3"}, {1,2,3}
Now I want to make it like below:
{"id1", 1}, {"id2", 2}, {"id3", 3}
How can I do that in C#? Hopefully I have cleared my point.