You want to use the SelectMany
extension method.
var residences = details.SelectMany(d => d.AppForm_Residences).ToList();
More Related Contents:
- How to read lines to dictionary with linQ [closed]
- Difference Between Select and SelectMany
- How to flatten tree via LINQ?
- Using LINQ to remove elements from a List
- Extension methods must be defined in a non-generic static class
- Dynamically access table in EF Core 2.0
- What’s the hardest or most misunderstood aspect of LINQ? [closed]
- LINQ to SQL and a running total on ordered results
- Linq to EntityFramework DateTime
- LINQ to SQL multiple tables left outer join
- how to check if object already exists in a list
- How to “zip” or “rotate” a variable number of lists?
- LINQ Inner-Join vs Left-Join
- Cast LINQ result to ObservableCollection
- Get table-data from table-name in LINQ DataContext
- DISTINCT() and ORDERBY issue
- Is it Linq or Lambda?
- Can I LINQ a JSON?
- Local variable and expression trees
- How to make LINQ execute a (SQL) LIKE range search
- convert this LINQ expression into Lambda
- List complex sorting
- Good way to get the key of the highest value of a Dictionary in C#
- How to sort a dictionary by key
- LINQ performance Count vs Where and Count
- Issues Doing a String Comparison in LINQ
- How to convert DataTable to class Object?
- Accessing System Databases/Tables using LINQ to SQL?
- How to merge two lists using LINQ?
- C# Linq to SQL: How to express “CONVERT([…] AS INT)”?