//Random Number
//23/08/19
//version 0.5
using System;
public class Program
{
public static void Main()
//Declare a random number class instance:
Random rnd = new Random();
//Declare an integer variable to store our random number:
int iRandomNumber;
//Now give the new variable a random value:
//We give the function two values - a lower value and an upper value.
//The lowest number we are aim for here is 25 and the highest is 30
//We make sure to make the range one (1) more than the upper limit we
//actually want because the rnd method generates numbers EQUAL OR
//Greater THAN the lower limit and LESS THAN the upper limit.
//I know - weird, right?:
iRandomNumber = rnd.Next(25,31);
//Now output the number to the console:
Console.WriteLine(iRandomNumber);
}