Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace MNS // Note: actual namespace depends on the project name.
- {
- internal class Program
- {
- static void Main(string[] args)
- {
- Boisson b = new Boisson(200, "Un gros café", 2, false);
- Distributeur d = new Distributeur();
- b.Boire(10);
- Console.WriteLine(b.GetQuantite());
- d.ObtenirBoisson(b);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement