Beispiel #1
0
 public void UpdateCrediCard(string nameOnCard, string cardNumber)
 {
     Printer.Print(ConsoleColor.Cyan);
     CreditCard = new CreditCardDetails(nameOnCard, cardNumber);
 }
Beispiel #2
0
 public CreditCardDetails(CreditCardDetails cardDetails)
 {
     NameOnCard = cardDetails.NameOnCard;
     CardNumber = cardDetails.CardNumber;
 }