Get next random number in double : Random : Development Class C# Source Code


Custom Search

C# Source Code » Development Class » Random »

 

Get next random number in double









    

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);
  }
}


           
       
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo Development Class
» Random