public static void Main()
Console.WriteLine("Hello World " + bus1.Equals(bus0));
var v = new{Type = "seater", Year = "2013"};
Console.WriteLine($"Type is: {v.Type} and Year is: {v.Year}");
Bus[] products = {new Bus(), new Bus()};
products[0].Color = "teal";
products[1].Color = "teal";
public class Bus:IEquatable<Bus>{
public string Make{get; set;}
public string Model{get; set;}
public string Year{get; set;}
public string Color{get; set;}
public string Price{get; set;}
public bool Equals(Bus bus){
return (this.Make, this.Model, this.Year, this.Color, this.Price) == (bus.Make, bus.Model, bus.Year, bus.Color, bus.Price);