i want to store a range of numbers into an array or a string[]. the range in 1 - 100. Please help. here is the code i tried:
static Array SetNum()
{
var initial = Enumerable.Range(1, 100).ToArray();
Console.WriteLine(initial.ToString());
return initial;
}
When i tried to run the program. I got System.int32[] on the output.