Exemplo n.º 1
0
        static void Main(string[] args)
        {
            Persoon p1 = new Persoon("Doe", "John", 'v');

            p1.LogOutput();
            Gebruiker g1 = new Gebruiker("Parent", "Olivier", 'm');

            g1.LogOutput();
            Student s1 = new Student("Vermeire", "Jef", 'm');

            s1.LogOutput();
            Docent d1 = new Docent("Papito", "Dreirman", 'm');

            d1.LogOutput();
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            Docent doc1 = new Docent("DeVogel", "Struisje", 'm');

            doc1.LogOutput();
            Console.Write("\n");

            Gebruiker gebr1 = new Gebruiker("DeMicroob", "Joop", 'm');

            gebr1.LogOutput();
            Console.Write("\n");

            Persoon pers1 = new Persoon("DeSpons", "Fons", 'm');

            pers1.LogOutput();
            Console.Write("\n");

            Student stu1 = new Student("DeKwal", "Vital", 'm');

            stu1.LogOutput();
            Console.Write("\n");
        }