Exemplo n.º 1
0
        static void Main(string[] args)
        {
            FullTimeEmployee full = new FullTimeEmployee();

            full.EmployeeId = 1002;
            full.FirstName  = "Buster";
            full.LastName   = "Douglass";
            full.PrintFullName();

            PartTimeEmployee pa = new PartTimeEmployee();

            pa.EmployeeId = 5209;
            pa.FirstName  = "Mike";
            pa.LastName   = "Tyson";
            pa.PrintFullName();

            Console.ReadLine();
        }