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

后端 未结 13 1413
一向
一向 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:04

    While I do understand and like the fluent format , I've stuck to Query for the time being for readability reasons. People just being introduced to LINQ will find Query much more comfortable to read.

    0 讨论(0)
提交回复
热议问题