public static int age() { calcul_age calcul = new calcul_age(); int annee = calcul_age.demande(); int age = DateTime.Today.Year - annee; return(age); }
static void Main(string[] args) { calcul_age age = new calcul_age(); calcul_age.afficher(); }