Example #1
0
    public static bool testMethod()
    {
        ExprefTestClass_inter_class2_I2 inter = new ExprefTestClass_inter_class2_C3();

        try
        {
            ExprefTestClass_inter_class2_C1 c1 = (ExprefTestClass_inter_class2_C1)inter;
            c1.i();
        }
        catch (System.Exception e)
        {
            //Old Print
        }
        return(true);
    }
Example #2
0
	    public static bool testMethod() 
	    {
            ExprefTestClass_inter_class2_I2 inter = new ExprefTestClass_inter_class2_C3();
			try
			{
                ExprefTestClass_inter_class2_C1 c1 = (ExprefTestClass_inter_class2_C1)inter;
				c1.i();
			}
			catch (System.Exception e)
			{
				//Old Print
			}
	        return true;
        }