{
Static void Main(string[] args)
{
int[]arr = new int[ 100];
Random rnd = new Random();
for(int I = 0; I< 100; i++)
{
arr[i] = rnd。 Next (0,10000); //Random allocation
}
foreach (int i in arr)
{
Console. WriteLine(I); //output the contents of the array
}
Console. read key();
}
}