摘要:
int[]iArrary=newint[30000];Randomrd=newRandom();for(inti=0;i<30000;i++){iArrary[i]=rd.Next(0,9999);}longbegin=DateTime.Now.Ticks;Programq=newProgram();q.Sort(iArrary);longend=DateTime.Now.Ticks;for(intm=0;m<30000;m++)Console.WriteLine("{0}",iArrary[m]);Console.Write(end-begin);Consol 阅读全文