Exemple #1
0
 public static void Main()
 {
     Base.Static_Method();     // Prints "Base static method"
     Derived.Static_Method();  // Prints "Derived static method"
     Base.Call_To_Static();    // Prints "Base static method"
     Derived.Call_To_Static(); // Again, Prints "Base static method". This is because call occurs inside base class.
 }