Beispiel #1
0
        static void Main()
        {
            PhotoAlbum album = new PhotoAlbum();

            Console.WriteLine(album.GetNumberOfPages());

            PhotoAlbum album1 = new PhotoAlbum(24);

            Console.WriteLine(album1.GetNumberOfPages());

            BigPhotoAlbum album2 = new BigPhotoAlbum();

            Console.WriteLine(album2.GetNumberOfPages());
        }
Beispiel #2
0
        static void Main()
        {
            PhotoAlbum album1 = new PhotoAlbum();

            Console.WriteLine("Number of pages album1: " + album1.GetNumberOfPages());


            PhotoAlbum album2 = new PhotoAlbum(24);

            Console.WriteLine("Number of pages album2: " + album2.GetNumberOfPages());

            BigPhotoAlbum album3 = new BigPhotoAlbum();

            Console.WriteLine("Number of pages album3: " + album3.GetNumberOfPages());
        }
Beispiel #3
0
            static void Main()
            {
                bool debug = false;

                PhotoAlbum myAlbum1 = new PhotoAlbum();

                Console.WriteLine(myAlbum1.GetNumberOfPages());

                PhotoAlbum myAlbum2 = new PhotoAlbum(24);

                Console.WriteLine(myAlbum2.GetNumberOfPages());

                BigPhotoAlbum myBigPhotoAlbum1 = new BigPhotoAlbum();

                Console.WriteLine(myBigPhotoAlbum1.GetNumberOfPages());

                if (debug)
                {
                    Console.ReadLine();
                }
            }