Class2();
            c2.DoSomething();
            ((ISomeInterface)c2).DoSomething();
            ((Class1)c2).DoSomething();
            Console.ReadLine();
        }
    }
}

相关文章:

  • 2021-12-23
  • 2021-08-06
  • 2021-12-09
  • 2021-06-01
  • 2021-11-08
  • 2021-07-06
猜你喜欢
  • 2021-09-09
  • 2022-12-23
  • 2022-01-16
  • 2021-09-02
  • 2022-12-23
  • 2022-12-23
  • 2021-10-29
相关资源
相似解决方案