随机数

Random rand = new Random();
int i= rand.Next(1000, 3000); // 生成1000(包括)到3000(不包括)之间的随机数

posted @ 2024-05-31 20:10  小杨观世界  阅读(2)  评论(0编辑  收藏  举报