如何随机生成序列,例如0-9生成随机的序列3,5,1,6,8,4,9,7,0,2_百度...答:这么写就可以了 private void button1_Click(object sender, EventArgs e){ List<int> arrList = new List<int>();string str = "";for (int i = 0; i < 10; i++){ arrList.Add(i);} int num;Random random = new Random();while (arrList.Count != 0){ num = random.Next(...