如何使用Linq将列表集合添加到列表中?

Gyp*_*psy 1 c# linq entity-framework

我有一份清单

List<List<Employee>> EmployeeListCollection;
Run Code Online (Sandbox Code Playgroud)

并希望

List<Employee> EmployeeList=//all employee in EmployeeListCollection
Run Code Online (Sandbox Code Playgroud)

什么是查询?

Che*_*hen 12

List<Employee> EmployeeList = EmployeeListCollection.SelectMany(c => c).ToList();
Run Code Online (Sandbox Code Playgroud)