title: C# Interface and base classes
body: <p>I have a C# interface, and a concrete class that implements that interface. I now want to create another class that implements that interface. Simple enough.</p>
  
  <p>However, most methods will be exactly the same in the classes, and only a couple of methods will actually change.</p>
  
  <p>I don't want to duplicate all of the logic in my 2nd class that is contained in my first.</p>
  
  <p>How do I create the 2nd class, and use the logic in my first class except for the extra stuff?</p>
  
  <p>My interface is called IEventRepository, and my 1st class is called BaseEvents. I now want to create a new class called FooBarEvents.</p>
  
  <p>My class definition for FooBarEvents is:</p>
  
  <pre><code>public class FooBarEvents : BaseEvents, IEventRepository
  </code></pre>
  
  <p>My intention was to then use the return base.Method() in each method that duplicates the code.</p>
  
  <p>I'm assuming this isn't correct?</p>