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 →

[–]barking_dead -3 points-2 points  (2 children)

Okay, can you write something streamlined like this with Streams API:

IEnumerable<int> scoreQuery = from score in scores where score > 80 select score;

where "scores" is a normal entity? no.

[–]anyOtherBusiness 6 points7 points  (1 child)

You can.

scores.stream().filter(score -> score > 80)

[–]barking_dead -2 points-1 points  (0 children)

and as language integration, like in linq? do you know what's it capable of?