with LINQ, how to transfer a List<List<string>> to List<string>?
I got an object of
List<List<string>>
I need to bring this into开发者_StackOverflow a
List<string>
I have no idea how to do this with LINQ.
List<string> results = original.SelectMany(x => x).ToList();
精彩评论