For training related to .net,OOPS,design patterns, MVC,WCF and .net fundamentals
contact at sukeshmarla@gmail.com or Click Here

22 April 2011

Generate Random number using C#

Let's see how to generate random number:

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