I have a Dictionary<int, string[]>.
And I want to know, if with the functions of Enumerable/Collection it's possible to get in one line "approximatly", to regroup all string[] value in one array string ?
Dictionary<int, string[]> dicoMailPerPage = new Dictionary<int, string[]>();
dicoMailPerPage.Add(pageX, objetLanda.Select(t => t.mail).ToArray());
...
string[] allMail = dicoMailPerPage.Values.Something... // My problem
Thanks
I had to look for zip/aggregate... but it's not want i need, i think.
IEnumerable.SelectManyLINQ extension method -dicoMailPerPage.Values.SelectMany(x=>x);