Is it possible to create a multidimensional list in C#? I can create an multidimensional array like so:
string[,] results = new string[20, 2];
you just make a list of lists like so:
List> results = new List>();
and then it's just a matter of using the functionality you want
results.Add(new List()); //adds a new list to your list of lists
results[0].Add("this is a string"); //adds a string to the first list
results[0][0]; //gets the first string in your first list