隨機數

小杨观世界發表於2024-05-31

Random rand = new Random();
int i= rand.Next(1000, 3000); // 生成1000(包括)到3000(不包括)之間的隨機數

相關文章