Hello ,
Thanks for this helpful documentation .
I think the following code has an error .
Suits().SelectMany(suit => Ranks(rank => new { Suit = suit, Rank = rank }));
"No overload for method 'Ranks' takes 1 arguments [linq]"
To produce the same result as query syntax, suggested code would be
Suits().SelectMany(suit => Ranks().Select(rank => new {Suits=suit ,Rank=rank }));
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.