title: How to filter a list of employees based on whether or not the Employees are working overtime
body: <p>I have been trying really hard to create a list of employees and find who have worked over time and add them to the list. </p>
  
  <p>But i really can't.</p>
  
  <p>Can you help me solve this? </p>
  
  <p>please check the image. 
  thanks</p>
  
  <pre><code>public class Employee
  {
      public String Name { get; set; }
      public double HourlyWage { get; set; }
      public double HoursPerMonth { get; set; }
  
  
      public double GetMonthlyPay()
      {
  
          double overTimeHours= HoursPerMonth - 150;
          double pay;
  
          if(overTimeHours &lt;= 0)
          {
              pay = HourlyWage * HoursPerMonth;
          }
          else
          {
              pay = (150 * HourlyWage) + (overTimeHours * HourlyWage * 1.5);
          }
          return pay;
          strong text
  </code></pre>
  
  <p>{this question was answered, i am just editing the question. appearently it was off topic.}</p>