score:16

Accepted answer

You can do:

var allTrackAreasCombined = allTrackAreas.SelectMany(t => t).ToList();

score:0

If you have list of list like this

list[0]
      Records1[0]
      Records2[1]
      Records3[2]
list[1]
      Records1[0]
      Records2[1]
      Records3[2]

so you can make all Records in single list like using this code

list<object> test = new list<object>();
foreach(object items in list)
{
  foreach(object item in items)
  {
     test.add(item);
  }
}

then in test you got all six records.

I hope this help you.


Related Articles