Exemplo n.º 1
0
        private static void displaySuits()
        {
            Console.WriteLine("The suits are:");
            IEnumerator suits = new SuitsEnumerator();

            while (suits.MoveNext())
            {
                Console.WriteLine(suits.Current);
            }
        }