static void Main(string[] args) { string[] name = new string[10]; Console.WriteLine("Enter a name:"); for (int i = 0; i < name.Length; i++) { name[i] = Console.ReadLine(); } for (int i = 0; i < name.Length; i++) { Console.WriteLine(name[i]); } Console.ReadKey(); }