static void Main(string[] args) { TaxCalculation txc = new TaxCalculation(LogType.XML); Console.WriteLine(txc.Calculate(10, 5)); Console.WriteLine(txc.Calculate(0, 0)); Console.Read(); }
public int GetTaxBySalary(int salary) { return(taxCalculation.Calculate(salary)); }