コード例 #1
0
    public static void Main(string[] args)
    {
        var obj = new UsedDerivedType();

        RunFromBase(obj);
        RunFromIterface(obj);
    }
コード例 #2
0
 public static void Main(string[] args)
 {
     var obj = new UsedDerivedType();
     Test(obj);
     new DerivedTypeWithoudMethodUsage();
     Test(new DerivedClassWithoutMethod());
 }
コード例 #3
0
    public static void Main(string[] args)
    {
        var obj = new UsedDerivedType();

        Test(obj);
        new DerivedTypeWithoudMethodUsage();
        Test(new DerivedClassWithoutMethod());
    }
コード例 #4
0
 public static void Main(string[] args)
 {
     var obj = new UsedDerivedType();
     RunFromBase(obj);
     RunFromIterface(obj);
 }