LINQ Fluent and Query Expression Is there any benefit(s) of one over other? [closed]
location: linuxexchange.com - date: July 2, 2013
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 to me than the query expression syntax.
var title = entries.Where(e => e.Approved)
.OrderBy(e => e.Rating).Select(e => e.Title)
var query = (from e in entries
Is there any difference between the two or is there any particular benefit of one over other?
Page: 1 2 3 4 5 6 7 8 9 10