예제 #1
0
 static MyChildType MyStaticMethodWithChildType(MyChildType childType)
 {
     Console.WriteLine($"MyStaticMethodWithChildType called with {childType.GetType().Name} argument type.");
     return(childType);
 }
예제 #2
0
 static void MyStaticMethodWithInChildType(MyChildType childType)
 {
     Console.WriteLine("MyStaticMethodWithInChildType called.");
 }