示例#1
0
 public static void Calling_Base_Versions_of_Functions()
 {
     Derive6 d6 = new Derive6();
     Console.WriteLine(d6.VirtualMethod());                  // 输出 Derive6 Base virtual method
 }
示例#2
0
        public static void Calling_Base_Versions_of_Functions()
        {
            Derive6 d6 = new Derive6();

            Console.WriteLine(d6.VirtualMethod());                  // 输出 Derive6 Base virtual method
        }