📅  最后修改于: 2022-03-11 14:49:03.355000             🧑  作者: Mango
Random randomName = new Random(); //only required once
Console.WriteLine(randomName.next(1, 101)); //the generated number is *equal or above* the min(1) and *bellow* the max(101)