My question is very similar to this one here: Rotate - Transposing a List<List<string>> using LINQ C#
Except my testing of the solutions brings to my attention that it works best on even arrays, and not uneven ones. The accepted solution and some others from the link above I grabbed out of curiosity all produced a transpose without infilling a lack of information on jagged lists.
{{"a"},
{"b","c"}}
would transpose into
{{"a","b"},
{"c"}}
instead of
{{"a","b"},
{null,"c"}}.
My source data could have nothing if there's, say, three blank places of information at the end of what will become the list, it'll just get cut off without any nulls. I want the ability to insert nulls or some other specific value where lists that are not the longest length in the source data when I transpose. I know how the best way to handle it with just standard for loops, but I want a solution using Linq, something I'm unfortunately less familiar with.
Any help would be appeciated!