Esempio n. 1
0
        static void Main(string[] args)
        {
            var tower = new ClockTower();
            var john  = new Perosn("Jhon", tower);

            tower.ChimeFivePM();
            tower.ChimeSixAM();
        }
Esempio n. 2
0
        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();
        }
Esempio n. 3
0
        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();
        }