using System;
public class Program
{
public static void Main()
//Random is a class so you need capital R
Random myRand = new Random();
//myRand is the name of the random object
Console.WriteLine(myRand.Next(18));
Console.WriteLine(myRand.Next(1,8));
//1st integer in range is the minimum inclusive
//2nd integer in range is the highest non-inclusive
Random dice1 = new Random();
Console.WriteLine(dice1.Next(1,7));
}