C#
随机数
Random r = new Random(); int random_index = r.Next(0, 100);//包前不包后