Beispiel #1
0
    public static bool testMethod()
    {
        ExprefTestClass_inter_class2_exc2_I2 inter = new ExprefTestClass_inter_class2_exc2_C2();

        try
        {
            ExprefTestClass_inter_class2_exc2_C1 c1 = (ExprefTestClass_inter_class2_exc2_C1)inter;
            c1.i();
        }
        catch (System.Exception e)
        {
            //Old Print
        }
        return(true);
    }
 public static bool testMethod()
 {
     ExprefTestClass_inter_class2_exc2_I2 inter = new ExprefTestClass_inter_class2_exc2_C2();
     try
     {
         ExprefTestClass_inter_class2_exc2_C1 c1 = (ExprefTestClass_inter_class2_exc2_C1)inter;
         c1.i();
     }
     catch (System.Exception e)
     {
         //Old Print
     }
     return true;
 }