Пример #1
0
    static void Main(string[] args)
    {
        Logger logger = new Logger();
        Caller caller = new Caller();

        caller.FirstMethod(logger);
        caller.SecondMethod(logger);
    }