给定以下结构:
Public Class Vendor
Public Property Accounts As Account()
End Class
Public Class Account
Public Property Services As Service()
End Class
Public Class Service
Public Property Name As String
End Class
如何在给定一个供应商的所有帐户中获得所有包含服务的平面列表?这是我迄今为止尝试过的:
vendor.Accounts.Select(Function(acct) acct.Services) 'Returns a collection of services collections
我知道我只是缺少一个明显的操作员。