static void Main(string[] args) { var tower = new ClockTower(); var john = new Perosn("Jhon", tower); tower.ChimeFivePM(); tower.ChimeSixAM(); }
static void Main(string[] args) { var tower = new ClockTower(); var John = new Person("John", tower); var Mickle = new Person("Mickle", tower); tower.ChimeFivePM(); tower.ChimeSixAM(); }
static void Main(string[] args) { var tower = new ClockTower(); var philipp = new Person("Philipp", tower); Person Susi = new Person("Susi", tower); tower.ChimeFivePM(); tower.ChimeSixAM(); Console.ReadLine(); }