22 April 2011

Generate Random number using C#

Let's see how to generate random number:

Random ran = new Random();
Console.WriteLine(ran.Next());