using System.Collections.Generic;
public static void Main()
Tour t1 = new Tour("Paris", 3400, 3);
Tour t2 = new Tour("London", 3200, 3);
Tour t3 = new Tour("Munich", 3100, 2);
Tour t4 = new Tour("Milan", 3500, 3);
public List<string> places = new List<string>();
public Tour(string name, int cost, int duration)
this.duration = duration;
public override string ToString()
return "Name: " + name + " | Cost: " + cost.ToString() + " | Duration: " + duration.ToString();
public Person(string name, string address)
public Customer(string name, string address, string id)
public TourGuide(string name, string address, double salary)