public string Description;
Description = "A standard cup of coffee";
public CupofCoffee(string beantype, string description)
Description = description;
public static void Main()
CupofCoffee cup1 = new CupofCoffee();
Console.WriteLine("Bean type: " +cup1.Beantype);
Console.WriteLine("Instant Coffee: " +cup1.Instant);
Console.WriteLine("Milk: " +cup1.Milk);
Console.WriteLine("Packets of sugar: " +cup1.Sugar);
Console.WriteLine("Description: " +cup1.Description);
Console.WriteLine("Packets of sugar: " +cup1.Sugar);
var cup2 = new CupofCoffee("Robusta","This is the new description, edited through the constructor above that accepts a parameter for bean type and description.");
Console.WriteLine("Cup 2 Bean Type: " +cup2.Beantype);
Console.WriteLine("Cup 2 Description: " +cup2.Description);