0
Random array generate in c#
1000 elements
3 ответов
+ 2
Correction to hossein B code.
int[] array = new int[1000];
Random rand = new Random();
for(int i=0;i<1000;i++)
{array[i]= rand.Next();}
+ 1
Please edit your post, as it is now, it is unclear whether it was a question or not 👍
+ 1
Im agree with Ipang
But i think i can guess what you want
Int[] array = new int[1000];
for(int i ;i<1000;i++)
{array[i]= random.Next();}