title: How to skip an immediate base class override function
body: <p>I have got the following class structure, and have plenty of classes like C derived from B, in some of the classes I dont want by B.OnShow() but I want A.OnShow() to be executed from C  Any tricks?</p>
  
  <pre><code>abstract class A
  {
     protected virtual void OnShow()
     {
          //some code
          base.OnShow();
     }
  }
  
  class B : A
  {
      protected override void OnShow()
      {
        //some other code
        base.OnShow();
      }
  }
  
  class C : B
  {
     protected override void OnShow()
     {
        //some other code
        base.OnShow();
     }
  }
  </code></pre>