Exemplo n.º 1
0
        static void Main(string[] args)
        {
            DriversLicense dl       = new DriversLicense("Tim", "Smith", "Male", 1234);
            string         fullName = dl.GetFullName();

            Console.WriteLine(fullName);
            Console.ReadLine();
        }
Exemplo n.º 2
0
        public static void PoCos()
        {
            DriversLicense BlankDL = new DriversLicense();
            DriversLicense DL1     = new DriversLicense("Sara", "Ashley", "Female", "12345678");

            Console.WriteLine(DL1.GetFullName());
            Book book1 = new Book();

            Console.WriteLine(book1.Publisher);
            Airplane plane1 = new Airplane();
        }