完善功能
This commit is contained in:
13
电子展板/Utility/Other/RandomUtils.cs
Normal file
13
电子展板/Utility/Other/RandomUtils.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
|
||||
namespace 电子展板.Utility.Other
|
||||
{
|
||||
public class RandomUtils
|
||||
{
|
||||
public static int GetRandomInt(int start, int end)
|
||||
{
|
||||
Random rand = new Random();
|
||||
return rand.Next(start, end);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user