Is there an equivalent of Pythons range(12) in C#?

前端 未结 5 823
北恋
北恋 2021-02-03 17:40

This crops up every now and then for me: I have some C# code badly wanting the range() function available in Python.

I am aware of using

for         


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