I thought this was straight forward, but given a multi-dimensional array
string[,] table = new string[,]
{
{"Apple", "Banana", "Clementine", "Damson"},
{"Elderberry", "Fig", "Grape", "Huckleberry"},
{"Indian Prune", "Jujube", "Kiwi", "Lime"}
};
How can I return a specific array using an index?
I tried the following but it does not work.
string[] firstArray = table[0];
Thank you.