public static void Main()
    {
        Tester tester = new Tester();

        IFoo iFoo = (IFoo)tester;

        iFoo.Execute();

        IBar iBar = (IBar)tester;

        iBar.Execute();
    }
Exemple #2
0
 public void Bar()
 {
     bar.Execute();
     bar.LowCommon();
     bar.MakeBar();
 }