Method shadowing in C#

Run Settings
LanguageC#
Language Version
Run Command
class A { public virtual void M() { } } class B : A { // Implicit shadowing. Not OK. // public void M() { // } // Override. Not shadowing. OK. // public override void M() { // } // Explicit shadowing. OK. public new void M() { } } public static class Program { public static void Main() { } }
Editor Settings
Theme
Key bindings
Full width
Lines