3 ms·
Hm, LINQ query syntax form is kinda going in that direction (from book in books where book.pagecount > 100 && book.language == "Chinese"
by dahauns 2y ago
Hm, LINQ query syntax form is kinda going in that direction
(from book in books
where book.pagecount > 100
&& book.language == "Chinese"
&& book.subject == "History"
&& book.author.mentions > 10_000
from pet in book.author.pets
where pet.is_furry == true
select pet.favoriteFood)
.Distinct()
But it also demonstrates the...erm, chronic "halfassedness" of LINQ's query syntax form with distinct() not available there and having to fall back to method syntax form anyway...