Use linq to join rows

Hello, I would like to know how can I do it with linq to pass from:

image

to:

image

Thanks :slight_smile:

have a look here: