2012年11月4日

摘要: 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++){intArr[i]=(int)myList[i];} 阅读全文
posted @ 2012-11-04 13:18 gongth_12 阅读(181) 评论(0) 推荐(0) 编辑

导航