Lots of code contains list of lists or dictionary of lists data objects.
Quite often we need to extract a flattern list of data.
The simplest linq staments is
var flatterList = from el in externalList from il in el.innerList select el.code, el.description, il.subcode, il.detailA;
For a complete list of samples, read Use LINQ’s SelectMany Method to “Flatten” Collections .
Technorati tags: LINQ