NextDouble() public method

public NextDouble ( ) : double
return double
Esempio n. 1
0
 public static double RandomDouble(double min = 0, double max = 0)
 {
     var randr = new SecureRandom();
     var tmp = randr.NextDouble();
     return (tmp * max) + min;
 }