I have a list
with tickets
in it:
TicketID
- Aantal
(amount) - ActiePrijs
(price)
For all those tickets
the ActiePrijs
(price) is still empty
. But I also have a list
with only those Actieprijs
(prices). It's just a list of decimals
.
Now I want to put the first actiePrijs from the decimal list into the ActiePrijs from the first ticket, the second ActiePrijs into the ActiePrijs of the second ticket etc
.
I want to do it using linq method syntax.
Can someone help me?