Пример #1
0
            public static bool testMethod()
            {
                Interface_TestClass_ifreimp_01_I1 instance = new Interface_TestClass_ifreimp_01_3();
                try
                {
                    instance.Paint();
                }
                catch (Exception)
                {
                    return false;
                }

                return true;
            }
Пример #2
0
 public static void Main_old()
 {
     Interface_TestClass_ifreimp_01_1 c = new Interface_TestClass_ifreimp_01_1();
     Interface_TestClass_ifreimp_01_3 m = new Interface_TestClass_ifreimp_01_3();
     Interface_TestClass_ifreimp_01_I1 ic = c;
     Interface_TestClass_ifreimp_01_I1 im = m;
     m.Paint();
     ic.Paint();
     im.Paint();
 }