var results = from thing in AnArrayOfThings
let list = Function(thing)
???
select OneLongResultsList;
How can I merge all the "list" collections into one long list? I'm new to linq and I can't use lambda expressions.
Basically, what I want to do, is this:
List<Result> results = new ...;
foreach (Thing t in ListOfThings)
{
List<Result> list = Function( t );
results.MergeOrAdd( list );
}