private void addContact() { Contact c = new Contact(); Console.Write("Name: "); c.Name = Console.ReadLine(); Console.Write("Phone: "); c.Phone = Console.ReadLine(); phoneBook.AddFirst(c); Console.WriteLine("New contact added"); }