Thursday, June 19, 2008

random no in a range c# asp.net

random Number generation in a range c# asp.net

System.Random RandNumb = new System.Random();
int MyRandomNumber = RandNumb.Next(1, 11);
Response.Write(MyRandomNumber);

http://www.visli.com/

No comments: