I have a multidimensional list:
List<string>[] list = new List<string>[2];
list[0] = new List<string>();
list[1] = new List<string>();
And I iterate though the list as follows - but this only iterates through one list:
foreach (String str in dbConnectObject.Select()[0])
{
Console.WriteLine(str);
}
Although I want to be able to do something like:
foreach (String str in dbConnectObject.Select()[0] & String str2 in dbConnectObject.Select()[1])
{
Console.WriteLine(str + str2);
}