xxxxxxxxxx
Random rand = new Random();
return rand.NextDouble; //returns a random number bw 0.0 and 1.0!
xxxxxxxxxx
Random rand = new Random();
int number = rand.Next(0, 100); //returns random number between 0-99
xxxxxxxxxx
Random randomName = new Random(); //only required once
Console.WriteLine(randomName.next(1, 101)); //the generated number is *equal or above* the min(1) and *bellow* the max(101)