I have created this interface to use as a combined collection for 2 other collections.
Both of my objects(ourCars and ourTrucks) contain info about my collection of cars and my collection of trucks.
However the fields are not the same, I so I want to create a new collection in which to combine the two.
Private Interface carTruckCombo
Property ID As String
Property make As String
Property model As String
End Interface
Dim cars As IEnumerable(Of ourCars) = Enumerable.Empty(Of ourCars)()
Dim trucks As IEnumerable(Of ourTrucks) = Enumerable.Empty(Of ourTrucks)()
Now this is where I get stuck…what do I do now?
Dim combinedResults As IEnumerable(Of carTruckCombo)
1 Answer