convert this LINQ expression into Lambda

后端 未结 7 900
春和景丽
春和景丽 2020-11-29 07:56

Guys, I have a hard time converting this below linq expression(left join implementation) to lambda expression (for learning).

var result = from g in groc         


        
7条回答
  •  甜味超标
    2020-11-29 08:21

    To convert a Linq query to it's Lambda equivalent:

    1. Download Linqpad and run your query.
    2. In the results window, click on the "λ" button in the toolbar. It's right above the Results window
    3. Your query will be converted to a Lambda expression equivalent!

    enter image description here

提交回复
热议问题