Simple random number generator in C#
Random _r = new Random();
Int64 normal = _r.Next();
Int64 withinrange = _r.Next(1000);
Int64 betweenrange = _r.Next(100000, 200000);
Response.Write("<b>Normal :</b> " + Convert.ToString(normal));
Response.Write("</br> <b>Within Range :</b> " + Convert.ToString(withinrange));
Response.Write("</br> <b>Between Range :</b> " + Convert.ToString(betweenrange));
Int64 normal = _r.Next();
Int64 withinrange = _r.Next(1000);
Int64 betweenrange = _r.Next(100000, 200000);
Response.Write("<b>Normal :</b> " + Convert.ToString(normal));
Response.Write("</br> <b>Within Range :</b> " + Convert.ToString(withinrange));
Response.Write("</br> <b>Between Range :</b> " + Convert.ToString(betweenrange));
0 comments: