I want to get a sequence of integers from a value A to a value B.
For example A=3
and B=9
. Now I want to create a sequence 3,4,5,6,7,8,9
with one line of code and without a loop. I played around with Enumerable.Range
, but I find no solution that works.
Has anybody an idea?