int[] intArr=new int[100];
ArrayList mylist=new ArrayList();
Random rnd=new Random();
while(mylist.Count<100)
{
int num=rnd.next(1,101);
if(!mylist.Contains(num))
mylist.Add(num);
}
for(int i=0;i<100;i++)
intArray[i]=mylist[i];
int[] intArr=new int[100];
ArrayList mylist=new ArrayList();
Random rnd=new Random();
while(mylist.Count<100)
{
int num=rnd.next(1,101);
if(!mylist.Contains(num))
mylist.Add(num);
}
for(int i=0;i<100;i++)
intArray[i]=mylist[i];