//23/08/2019
//Matthew MacDougall
//Random Numbers
//v 0.2
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:
iRandomNumber = rnd.Next(5);
//now output the number to the console:
Console.WriteLine(iRandomNumber);
}