.net面向对象的实例代码
using System; namespace ConsoleApp { public class Animal { public Animal() { Show(); } public virtual void Show() { } } public class Cat : Animal { public Cat() { } //public new void
用户评论