Linq list of lists to single list
You want to use the SelectMany
extension method.
var residences = details.SelectMany(d => d.AppForm_Residences).ToList();
Use SelectMany
var all = residences.SelectMany(x => x.AppForm_Residences);
You want to use the SelectMany
extension method.
var residences = details.SelectMany(d => d.AppForm_Residences).ToList();
Use SelectMany
var all = residences.SelectMany(x => x.AppForm_Residences);