Suppose you've got a sequence of Foos and you want to project from that a sequences of Bars. That's straightforward using LINQ:
IEnumerable<Bars> bars = from foo in foos select MakeBar(foo);
or, without the query sugar:
IEnumerable<Bars> bars = foos.Select(foo=>MakeBar(foo));
But what if you have two sequences that you want to project from? Say you've got two sequences of doubles t...Full Article.
No comments:
Post a Comment
Post your comments here: