Flatten a C# Dictionary of Lists with Linq
Dictionary<string, List<string>>
var list = dictionary.Values // To get just the List<string>s
.SelectMany(x => x) // Flatten
.ToList(); // Listify
Dictionary.Values.SelectMany(x => x).ToList()
dict.SelectMany(pair => pair.Value.Select(str => str));
var flattened = from p in dictionary
from s in p.Value
select s;
var flattened = dictionary.SelectMany(p => p.Value);
dict.Values.Aggregate(new List<String>(), (a, b) => a.Concat(b));