title: C# Method Overriding
body: <p>A small payroll program which pays employees a salary or an amount based on how many hours they've worked in a month (Hourly paid employees only) Here is one of two class diagrams I have produced:</p>
  
  <p><img src="https://i.stack.imgur.com/sM8no.png" alt="Class Diagram 1"></p>
  
  <p>This version uses two child classes to define two types of employees and inherits the base attributes from the Employee parent class and the two child classes have their own methods to pay the two kinds of employees.</p>
  
  <p>My other version however looks like this:</p>
  
  <p><img src="https://i.stack.imgur.com/Ua9VV.png" alt="Class Diagram 2"></p>
  
  <p>This version uses method overriding based on what type of employee is being paid.</p>
  
  <p>Which is more suitable in terms of implementation based on the other classes and their relationships?
  Will implementing one over the other have any kind of drastic effect?</p>