public static void Main() { Tester tester = new Tester(); IFoo iFoo = (IFoo)tester; iFoo.Execute(); IBar iBar = (IBar)tester; iBar.Execute(); }
public void Bar() { bar.Execute(); bar.LowCommon(); bar.MakeBar(); }