Linq select many from list and keep id
This example applies to if you want to select the id from class A and all flatten list elements from “ListB”: public class A { int Id {get; set;} List ListB {get; set;} } var _listItems = (from x in…
This example applies to if you want to select the id from class A and all flatten list elements from “ListB”: public class A { int Id {get; set;} List ListB {get; set;} } var _listItems = (from x in…