public static void Main()
var type = typeof(Child2);
var method = type.GetMethod("Hello", BindingFlags.Static | BindingFlags.Public);
var result = method.Invoke(null, null);
Console.WriteLine(result);
public static string Hello()
return "Hello from static";
public new static string Hello()
return "Hello from child 1 static";
public new static string Hello()
return "Hello from child 2 static";