2022-10-11 10:04:27 +02:00

27 lines
609 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Programmation_objet_TLESIO21.TD4 {
public class Manager : Collaborateur {
private int SalaireBase;
private int Prime;
public Manager(String nom, String birthdate, int salaireBase, int prime) : base(nom, birthdate) {
this.SalaireBase = salaireBase;
this.Prime = prime;
}
public override double GetSalaire() {
return this.SalaireBase + this.Prime;
}
}
}