title: Override an overridden method (C#)
body: <p>I'm trying to override an overridden method (if that makes sense!) in C#. </p>
  
  <p>I have a scenario similar to the below, but when I have a breakpoint in the SampleMethod() in the "C" class it's not being hit, whilst the same breakpoint in the "B" method is being hit. </p>
  
  <pre><code>public class A
  {
        protected virtual void SampleMethod() {}
  }
  
  public class B : A 
  {
        protected override void SampleMethod()
        {
             base.SampleMethod(); 
        }
  }
  
  public class C : B
  {
        protected override void SampleMethod() 
        {
             base.SampleMethod(); 
        }
  }
  </code></pre>
  
  <p>Thanks in advance! </p>
  
  <hr>
  
  <p><strong>Edit:</strong> </p>
  
  <p>Ok, the context would help:</p>
  
  <p>This is in the context of a composite control so class A inherits from CompositeControl and calls SampleMethod() after overriding the CreateChildControls() method. </p>