How do I get all of the “columns” using linq from this dictionary.
Dictionary<int, Dictionary<int, string>> _cells;
where I can access a row this way
var someRow = _cells[2];
and I am able to get a cell
string cell = _cells[2][2];
What I am trying to do is create table.
A | B | C | ...
1 | * | * | * | ...
2 | * | * | * | ...
3 | * | * | * | ...
Where I get the values of column A.
Maybe this is what you’re looking for?
That will go through the rows (inner dictionary) and simply pull out the values for the desired column.