Fluent and Query Expression — Is there any benefit(s) of one over other?

后端 未结 13 1455
一向
一向 2020-11-22 05:15

LINQ is one of the greatest improvements to .NET since generics and it saves me tons of time, and lines of code. However, the fluent syntax seems to come much more natural

13条回答
  •  北恋
    北恋 (楼主)
    2020-11-22 06:03

    I don't get the query syntax at all. There's just no reason for it in my mind. let can be acheived with .Select and anonymous types. I just think things look much more organized with the "punctuation" in there.

提交回复
热议问题