Random number create using c#

   static Random rnd = new Random();
    int result = rnd.Next(1, 1000);

Comments