using System.Collections.Generic;
public static void Main()
String[] nouns = new String[]{"cat", "dog", "horse", "goat", "eagle", "lion", "giraffe"};
String[] verbs = new String[]{"ate", "slept", "jumped", "raced", "ran", "tripped", "guessed", "ate", "tapped"};
String[] rhymingNouns = new String[]{"mouse", "blouse", "grouse", "house", "spouse", "doghouse", "beachhouse", "treehouse"};
Random random = new Random();
String noun, verb1, verb2, rhymingNoun1, rhymingNoun2;
randomNum = random.Next(0,7);
r1 = random.Next(verbs.count);
verb2 = verbs[randomNum];
r2 = randomNum(verb1.count);
r3=random.Next(rhymingNoun1.count);
rhymingNoun1 = rhymingNouns[r3];
rhymingNoun1.remove(rhymingNouns[r3]);
rhymingNoun2 = rhymingNouns[randomNum];
r4= random.Next(rhymingNoun1.count);
Console.WriteLine("The " + noun + " " + verb1 + " a " + rhymingNoun1 + "," + "\n" + "And then " + verb2 + " it in the " + rhymingNoun2+".");