Is linq's let keyword better than its into keyword?

前端 未结 4 1926
鱼传尺愫
鱼传尺愫 2020-12-22 22:09

I\'m currently brushing up on LINQ and am trying to comprehend the difference between the let and using the into keyword. So far the let

4条回答
  •  一生所求
    2020-12-22 22:59

    Visualized version of leppie's answer. As can be seen, the compiler yields error in the query with into unlike the latter one as accessing to first variable.

提交回复
热议问题