How do I index into a List<Array>? *SOLVED*
I want a dynamic multidimensional array of strings. I searched the forum a bit and it seems that a List<Array> is what I want to use. Here's an idea of what I'm doing:
Code:
List<Array> timetrackview = new List<Array>();
//Get some rows from SQL and store results in:
String[] ttvData = new String[8];
//then add string array to timetrackview
timetrackview.Add(ttvData);
//since I know the second returned column is an int stored in my array I want to store it somewhere else
lastSR = int.Parse(timetrackview[0][1]);
//except this doesn't work
I cannot use a foreach; any help would be appreciated.