为MustInherit和抽象类的区别区别、抽象类、MustInherit

2023-09-04 23:42:21 作者:时疚

可能有人请向我解释一个抽象类,并标记为MustInherit?类之间的差异

Could someone please explain to me the differences between an abstract class and a class marked MustInherit?

两者都可以实现共享和实例构造函数和逻辑。两者都可以/必须继承。

Both can implement shared and instance constructors and logic. Both can/must be inherited.

那么,为什么使用了另一种又有什么区别呢?

So why use one over the other and what is the difference?

推荐答案

为MustInherit VB.NET 作为摘要 C#