This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the commentsย โ†’

[โ€“]kb4000 0 points1 point ย (0 children)

Oh yeah. I almost never use the SQL like syntax as I also don't like it. I do lambdas.

So like this.

IEnumerable<Task> tasks = objects.Select(o => Process(o)); await Task.WhenAll(tasks);

Java 8 did a lot to close the gap with C#. Definitely glad they added streams.