protected static new void WhyIsThisValidCode() { }
Why are you allowed to override static methods? Nothing but bugs can come from it, it doensn\'t work
for my surprise following code is allowed and compiles without any error on .net Framework 4.5.1, VS 2013.
class A { public static void Foo() { } } class B : A { } class Program { static void main(string[] args) { B.Foo(); } }