Skip to main content

Timeline for Joining two IEnumerable<T>

Current License: CC BY-SA 3.0

7 events
when toggle format what by license comment
Jul 18, 2012 at 16:10 comment added KeithS There is already an extension method that behaves exactly like your Merge method, called Concat. Neither of them will "join" the lists.
Jul 18, 2012 at 15:04 history edited Amiram Korach CC BY-SA 3.0
added 475 characters in body
Jul 18, 2012 at 11:25 comment added Amiram Korach You can make an extension method "Merge" that gets two enumerables and iterate both of them with yield return and use this method on your where results.
Jul 18, 2012 at 11:16 comment added Ankush Well I want whole function do Lazy evaluation. ToList will defeat that purpose.
Jul 18, 2012 at 11:11 comment added Amiram Korach Why? Is there a problem with them?
Jul 18, 2012 at 11:08 comment added Ankush Thanks. I should have mentioned, but in general I usually try to avoid ToList(), ToArray() operator. Will add this.
Jul 18, 2012 at 11:04 history answered Amiram Korach CC BY-SA 3.0