What is the purpose of a zip function (as in Python or C# 4.0)?

后端 未结 7 2192
北荒
北荒 2020-12-29 09:27

Someone asked How to do Python’s zip in C#?...

...which leads me to ask, what good is zip? In what scenarios do I need this? Is it really so foundational that I n

7条回答
  •  别那么骄傲
    2020-12-29 09:45

    It allows you to process sequences in parallel instead of sequentially or nested. There's... so many uses for it that they currently escape me.

提交回复
热议问题