Re:Google joins .NET Foundation as Samsung brings .NET suppo...
by kodfodrasz on Thursday November 17, 2016 @02:13AM
(#12975116)
When i last used the stream api i don't remember it had a reverse functionality. Still that was an example only.
Edit: Just checked: https://docs.oracle.com/javase/8/docs/api/java/util/stream/S... no reverse().
Fyi for 1 year I have been working on a Stream API heavy app. Now working on a C# project with quite some LINQ. I know both sides to some extent...
By calling .reverse() on it, and making it iterate the other way around?
> extension methods
Extension methods are something that’s really really problematic, and easy to create confusion with.
That said, I’d just import the functions I want to call on the stream into my local namespace with import static.