Ejemplo n.º 1
0
 static void Main(string[] args)
 {
     Book book = new Book("Pod igoto", "Ivan Vazov", 33.5m);
     GoldenBookEdition gBook = new GoldenBookEdition("Фифти шейдс оф грей", "Бай Манол", 40);
     Console.WriteLine(book);
     Console.WriteLine(gBook);
 }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            Book book = new Book("Pod Igoto", "Ivan Vazov", 15.90);
            Console.WriteLine(book);

            GoldenEditionBook goldenBook =
                new GoldenEditionBook("Tutun", "Dimitar Dimov", 22.90);
            Console.WriteLine(goldenBook);
        }