I'm looking for an equivalent of the C++ std::iota
but in .Net (.Net SDK 3.1 LTS compatible)
I want to port this C++ code to .Net
std::array<int, 10> ar;
std::iota(ar.begin(), ar.end(), -4);
This will create an array of int: {-4 -3 -2 -1 0 1 2 3 4 5}