Answers for "element of list c#"

C#
0

c# get all elements from list

You could get the Customers like this:

using System.Linq;

collectionCarts.SelectMany(c => c.OrderList.Select(o => o.Customer));
Posted by: Guest on March-16-2021

C# Answers by Framework

Browse Popular Code Answers by Language