C#中的封装,继承,多态,接口答:return address; } set { address = value; } } } //派生类 public class Customer : Contact { //自己的私有字段 string gender; decimal income; public Customer() { // statements ... } } 在上面的例子中,Customer 是 Contact的子类,不但,继承了父类的成员,name,email,address;还有自己的成员,...