static void Tax() // method to call tax and its functions { var amount = new Tax(); amount.PrintLine(); amount.Amount(); }