c#随机获取一个数字 System.Random r = new Random(); int t = r.Next(0, 100);