예제 #1
0
        private static void Task1()
        {
            Logger.LogTaskInfo();

            var ping = new Ping();
            var pong = new Pong();

            ping.OnPing += pong.DoPong;
            pong.OnPong += ping.DoPing;

            ping.DoPing();
        }