Beispiel #1
0
        static void Main(string[] args)
        {
            Patient p = new Patient();

            p.Examine("Sean");

            Child c = new Child();

            c.Examine("Cody");
            c.Inoculate();

            UnderFive uf = new UnderFive();

            uf.UnderFiveMethod();
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            Patient p = new Patient();

            p.Examine("Steve");

            Child c = new Child();

            c.Examine("Tom");
            c.Incoculate();

            UnderFive uf = new UnderFive();

            uf.Examine("Will");

            Console.ReadLine();
        }