Example #1
0
        static void Main(string[] args)
        {
            // calls a new nameslist then both functions within  Readline to keep the window open
            var list = new NamesList();

            list.AddPeople();
            list.PrintAll();
            Console.ReadLine();
        }