예제 #1
0
        public static int age()
        {
            calcul_age calcul = new calcul_age();
            int        annee  = calcul_age.demande();
            int        age    = DateTime.Today.Year - annee;

            return(age);
        }
예제 #2
0
        static void Main(string[] args)
        {
            calcul_age age = new calcul_age();

            calcul_age.afficher();
        }