This crops up every now and then for me: I have some C# code badly wanting the range() function available in Python.
range()
I am aware of using
for
You're looking for the Enumerable.Range method:
var mySequence = Enumerable.Range(0, 12);