public static void Main(string[] args)
    {
        var obj = new UsedDerivedType();

        RunFromBase(obj);
        RunFromIterface(obj);
    }
 public static void Main(string[] args)
 {
     var obj = new UsedDerivedType();
     Test(obj);
     new DerivedTypeWithoudMethodUsage();
     Test(new DerivedClassWithoutMethod());
 }
Esempio n. 3
0
    public static void Main(string[] args)
    {
        var obj = new UsedDerivedType();

        Test(obj);
        new DerivedTypeWithoudMethodUsage();
        Test(new DerivedClassWithoutMethod());
    }
 public static void Main(string[] args)
 {
     var obj = new UsedDerivedType();
     RunFromBase(obj);
     RunFromIterface(obj);
 }