摘要:
1、使用base若子类需要使用父类公开或受保护的成员则需要是base 1 class Manager : Employee 2 { 3 public int StockOptions { get; set; } 4 5 public Manager(string fullName, int age, int empID, 6 float currPay, string ssn, int numbOfOpts) 7 : base(fullName, age, empID, currPay, ssn) 8 ...
阅读全文