How to join together all the elements in an IEnumerable of IEnumerables?

Viewed 2759

Just in case you're wondering how this came up, I'm working with some resultsets from Entity Framework.

I have an object that is an IEnumerable<IEnumerable<string>>; basically, a list of lists of strings.

I want to merge all the lists of strings into one big list of strings.

What is the best way to do this in C#.net?

2 Answers
Related