Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace ObjectOriented
- {
- class Program
- {
- static void Main(string[] args)
- {
- DrinksMachine myMachine = new DrinksMachine("Kitchen", "Brand", "DM1000");
- //myMachine.Location = "Kitchen";
- //myMachine.Model = "DM1000";
- Console.WriteLine(myMachine.Location);
- Console.WriteLine(myMachine.Make);
- Console.WriteLine(myMachine.Model);
- myMachine.MakeCapucchino();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement