Does that require the obnoxious 100000000000, or could that be left blank?
Enumerable
.Generate((function() {
var i = 0;
return function() {
return i++;
};
})())
.Take(10)
.ToArray()
Output: 0,1,2,3,4,5,6,7,8,9