示例#1
0
        static void Main(string[] args)
        {
            ChildClass CC = new ChildClass();


            //FullTimeEmployee FTE = new FullTimeEmployee();
            //FTE.FirstName = "Nagendra";
            //FTE.LastName = "Prasad";
            //FTE.YearlySalary = 200000F;
            //FTE.PrintFullName();

            //PartTimeEmployee PTE = new PartTimeEmployee();
            //PTE.FirstName = "Nagendra";
            //PTE.LastName = "Prasad";
            //PTE.HourlyRate = 100F;
            //PTE.PrintFullName();

            Console.ReadKey();
        }
示例#2
0
 public static void Main()
 {
     ChildClass cc = new ChildClass();
 }
示例#3
0
        public static void Main()
        {
            ChildClass child = new ChildClass();

            child.print();
        }