How do I merge (or zip) two IEnumerables together?

前端 未结 10 1596
予麋鹿
予麋鹿 2020-12-17 00:38

I have an IEnumerable and an IEnumerable that I want merged into an IEnumerable> where

10条回答
  •  一整个雨季
    2020-12-17 00:51

    The MSDN has the following Custom Sequence Operators example. And Welbog is right; if you have no index on the underlying data you have no guarantee that the operation does what you exspect.

提交回复
热议问题