예제 #1
0
 static void Print(ICreditCard crediCard)
 {
     Console.WriteLine(crediCard.GetCardType());
     Console.WriteLine(crediCard.GetCreditLimit());
     Console.WriteLine(crediCard.GetAnualFee());
 }