Dev2.Common.Dev2Random.GetRandom C# (CSharp) Method

GetRandom() private method

private GetRandom ( int &seed ) : Random
seed int
return Random
        private Random GetRandom(ref int seed)
        {
            var r = new Random(BitConverter.ToInt32(Guid.NewGuid().ToByteArray(), 0));
            return new Random(seed += r.Next(1, 100000));
        }
    }

Same methods

Dev2Random::GetRandom ( enRandomType type, int length, double from, double to ) : string