Question description
Can you help me write the code for this? Once I see it, I have a much better understanding and can practice.Here is the assignment:Create an
array of integers with 1000 elements.
Fill the array with random numbers.
Use a foreach loop to print all integers in the array.
Random
random = new Random();int randomNumber
randomNumber = random.Next(0, 100); // place
this line in the loop