Beispiel #1
0
        static void Main(string[] args)
        {
            IBorrowableDVD DVD   = new DVD();
            IBorrowableDVD movie = new DigitalMovie();


            Console.ReadLine();
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            IBorrowableDVD  dvd            = new DVD();
            IBorrowableDVD  digitalMovie   = new DigitalMovie();
            IBorrowableBook harryPotter    = new Book();
            IBook           libraryRefBook = new ReferenceBook();

            Console.ReadLine();
        }