Question
How do you create an array of arrays in C#? I have read about creating jagged arrays but I'm not sure if thats the best way of going about it. I was wanting to achieve something like this:
string[] myArray = {string[] myArray2, string[] myArray3}
Then I can access it like myArray.myArray2[0];
I know that code won't work but just as an example to explain what I mean.
Thanks.
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow