Good afternoon, please help me, there is a text file called "From" with the following content:
10 1 6 8 6 1 2
You need to read all the numbers and put them in the "mas" array so that you can output to the console in this way:
for (int i = 0; i < massiv; i++) Console.WriteLine("в массиве [{0}] храниться число {1}", i , mas[i]);
To output on the console:
в массиве [0] храниться число 10 в массиве [1] храниться число 1
etc.
massiv is the length of the array.
Thank you in advance.