HelloWorld.GameHost.Random C# (CSharp) Method

Random() public static method

获取一个小于指定整数的随机整数数
public static Random ( int maxValue ) : int
maxValue int 指定整数
return int
        public static int Random( int maxValue )
        {
            lock ( _sync )
            return random.Next( maxValue );
        }