private void AffichageNombreProduit() { string pays = Input.Read <string>("Saisir un pays:"); int nbr = Contexte.GetNbProduits(pays); Output.WriteLine(ConsoleColor.DarkCyan, nbr.ToString() + "produits"); }
private void AfficherNBProduits() { string pays; Console.WriteLine("quel pays ? "); pays = Console.ReadLine(); int nombre = Contexte.GetNbProduits(pays); //Console.ForegroundColor = ConsoleColor.Yellow; Console.WriteLine(nombre.ToString() + "produits"); }