NextDouble() 공개 메소드

public NextDouble ( ) : double
리턴 double
예제 #1
0
 public static double RandomDouble(double min = 0, double max = 0)
 {
     var randr = new SecureRandom();
     var tmp = randr.NextDouble();
     return (tmp * max) + min;
 }