I have a list of list strings. And I want to convert it to 2D string.
I tried the following the code
IList<IList<string>> string2DList;
string[,] string2D = string2DList.ToArray();
but the above code gives an error on the second line that string2DList.ToArray() is the array of List.