コード例 #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
ファイル: Program.cs プロジェクト: rihardmarius/Inheritance
        public static void Main()
        {
            ChildClass child = new ChildClass();

            child.print();
        }