public static float Range(float min, float max) { return((float)(random.NextDouble() * (max - min) + min)); }