using System.Collections.Generic;
public static void Main()
Console.Write("How many friends do you have? ");
string FriendsCount = Console.ReadLine();
int _friendsCount = Convert.ToInt32(FriendsCount);
List<Friend> friends = new List<Friend>();
for (int i = 1; i <= _friendsCount; i++)
Console.Write("What is the name " + GetDaySuffix(i) + " friend: ");
string Name = Console.ReadLine();
Console.Write("What " + GetDaySuffix(i) + " friend lives: ");
string City = Console.ReadLine();
Console.Write("What is " + GetDaySuffix(i) + " friend phone #: ");
string PhoneNumber = Console.ReadLine();
friends.Add(new Friend { Name = Name, City = City, Phone = PhoneNumber });
foreach (var item in friends)
Console.WriteLine(" ================================ ");
Console.Write(string.Format("{0} \n{1} \n{2}", item.Name, item.City, item.Phone));
Console.WriteLine(ex.Message);
static string GetDaySuffix(int count)