How do I make a multidimensional list, and can I add elements like this:
List<List<String>> listaMultidimensional = new List<List<string>>();
listaMultidimensional[0][0].Add ("maca");
listaMultidimensional[0][1].Add ("banana");
listaMultidimensional[1][3].Add ("limão");
What I can do is:
listaMultidimensional[0].Add("maca");
This would add "maca" in the first row in the first column, but how do I add "maca" in the second column ([0] [1]) for example? And then how would you go about accessing the data of a specific row and column in that list?