Random.NextDouble()
using System; using System.Windows.Forms; using System.Drawing; public class Test { static void Main() { Random roller = new Random(); double toHit = roller.NextDouble(); Console.WriteLine(toHit); } }