public static int GetIntNumber(int min, int max) { int seed = Guid.NewGuid().GetHashCode(); RandomMersenne mInt = new RandomMersenne((uint)seed); return(mInt.IRandom(min, max)); }
public static double GetDoubleNum() { int seed = Guid.NewGuid().GetHashCode(); RandomMersenne mDouble = new RandomMersenne((uint)seed); return(mDouble.Random()); }