static void Main(string[] args) { CreditCard cd = CreditFactory.CardType("Platinum"); Console.WriteLine("Card Name: " + cd.GetCreditcardName()); Console.WriteLine("Credit Limit: " + cd.GetCreditLimit()); Console.WriteLine("CreditCahrge: " + cd.GetCreditCharge()); }
public CreditFactoryTests() { _sut = new CreditFactory(); }
static void Main(string[] args) { CreditFactory.CardType("Platinum"); }