public static void Main()
Appliance washer = new Appliance();
Console.WriteLine(washer.ToString());
washer.Model = "WT1101CW";
washer.Description = "LG";
washer.UnderWarranty = true;
public string Model {get;set;}
public string Description {get;set;}
public string Color {get;set;}
public double Cost {get;set;}
public bool UnderWarranty {get;set;}
public override string ToString()
return "\nModel is " + Model
+ "\nDescription is " + Description
+ "\nUnderWarranty is: " + UnderWarranty