📜  c# 随机生成器 - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:54.543000             🧑  作者: Mango

代码示例6
// Creates a random number between 1 and 10
int randomNumber = new Random().Next(1, 11);