/* C#: The Complete Reference by Herbert Schildt Publisher: Osborne/McGraw-Hill (March 8, 2002) ISBN: 0072134852 */ // An automated pair of dice. using System; public class RandDice { public static void Main() { Random ran = new Random(); Console.Write(ran.Next(1, 7) + " "); Console.WriteLine(ran.Next(1, 7)); } }