To convert a Linq query to it’s Lambda equivalent:
- Download Linqpad and run your
query. - In the results window, click
on the “λ” button in the toolbar.
It’s right above the Results window - Your query will be converted to a
Lambda expression equivalent!