using static System.Console;
public static void Main()
Console.WriteLine("Hello World");
Appliance washer = new Appliance();
Console.WriteLine(washer.ToString());
washer.Description = "old";
washer.UnderWarranty = false;
Console.WriteLine("This is my Appliance: " + washer.ToString());
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 "Model is: " + Model + "\nDescription is: " + Description + "\nColor is: " + Color + "\nCost is: " + Cost + "\nUnderWarranty? " + UnderWarranty;