public double GetAverage()
 {
     return(ContractSalaryPerYear.Average());
 }
 public int GetTotal()
 {
     return(ContractSalaryPerYear.Sum());
 }