C# equivalent of rotating a list using python slice operation

后端 未结 6 1816
借酒劲吻你
借酒劲吻你 2020-12-14 06:52

In python, I can take a list my_list and rotate the contents:

>>> my_list = list(range(10))
>>> my_list
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
>         


        
6条回答
提交回复
热议问题