using System.Collections.Generic;
public static void Main(string[] args)
List<string> wordBank = new List<string>();
Console.Write("Enter a word: ");
string word = Console.ReadLine();
Console.WriteLine("You entered the word " + word + ".");
Console.Write("Do you want to try again? [Y/N] ");
} while (Console.ReadLine().ToUpper() == "Y");
Console.WriteLine("You entered " + wordBank.Count + " words:");
foreach (string word in wordBank)