Esempio n. 1
0
        static void Main(string[] args)
        {
            var patient  = new Patient("Jos", 5);
            var vpatient = new VerzekerdePatient("Alexandre", 5);

            patient.ToonInfo();
            vpatient.ToonInfo();
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            Console.WriteLine("Ziekenhuis\n");

            Patient josDenBoer = new Patient();

            josDenBoer.Naam           = "josDenBoer";
            josDenBoer.UurInZiekehuis = 10;

            VerzekerdePatient koning = new VerzekerdePatient();

            koning.Naam           = "koning";
            koning.UurInZiekehuis = 10;

            josDenBoer.ToonInfo();
            koning.ToonInfo();
        }