Randomrand = new random (len);
Int r = 랜트. Next ();
Intdata = array [r];
배열. Removeat [r];
필요한 숫자를 얻을 때까지이 프로그램을 반복하십시오. 스레드를 사용할 수 있습니다. 필요 없습니다.