NumericUpDown.NextValue C# (CSharp) 메소드

NextValue() 개인적인 메소드

private NextValue ( int current, string tag ) : int
current int
tag string
리턴 int
    public int NextValue(int current, string tag)
    {
        return new Random().Next(Math.Min(1000, Math.Max(0, current)), 1001);
    }