Program
Write a function that generates a random integer between two integers passed as parameters. Build an ASP.NET page which allows you to enter the lower and upper limits, and generates a set of random numbers in that range.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Rahul BansalRank #143 · 15.9K reputationPosted Mar 2, 2015, 7:17 PM EST
{
Response.Write(GetRandom(100,200).ToString());
}
public int GetRandom(int min, int max)
{
Random r = new Random();
return r.Next(min, max);
}
Jignesh TrivediRank #16 · 50.3K reputationPosted Mar 2, 2015, 9:26 PM EST
.net is provide build-in class called System.Random, this class can help you to generate random number between two int, double nad byte data...
please refer
https://msdn.microsoft.com/en-us/library/system.random(v=vs.110).aspx
hope this will help you.