示例#1
0
文件: Client.cs 项目: wsxx111/Work
 public double GetTax(double income)
 {
     return(m_strategy.CalculateTax(income));
 }
 public double GetTax(double income)
 {
     return(_strategy?.CalculateTax(income) ?? 0);
 }