private static void exercice1()
        {
            CompteBancaire compteCourant = new CompteBancaire("Alexis Lapeze", 0, "euros");

            compteCourant.Crediter(2000);
            compteCourant.Debiter(1000);

            Console.WriteLine(compteCourant.ToString());
        }
Exemple #2
0
        private static void ex1()
        {
            CompteBancaire compteCourant = new CompteBancaire("Nicolas", 0, "euros");

            compteCourant.Crediter(2000);
            compteCourant.Debiter(1000);

            Console.WriteLine(compteCourant.ToString());
        }