How to “zip” or “rotate” a variable number of lists?

后端 未结 8 1630
广开言路
广开言路 2020-11-27 20:47

If I have a list containing an arbitrary number of lists, like so:

var myList = new List>()
{
    new List() { \"a\",          


        
8条回答
  •  無奈伤痛
    2020-11-27 21:07

    Take a look at the linqlib project on codeplex, it has a rotate function that does exactly what you need.

提交回复
热议问题