[求助]
谁帮我改改错误 using System; class count { static void Main() { int[] all=new int[100]; long[] ss=new long [7]; Random r=new Random(); for(int i=0;i<all.Length;i++) { all[i]=r.Next(1,7); } for(long i=0;i<=ss.Length;i++) { ss[all[i]]=i++; Console.WriteLine("ss["+i+"]="+ss); } foreach(int j in ss) { Console.WriteLine(j); } System.Threading.Thread.Sleep(1000000); }
}