static void Main(string[] args) { Console.WriteLine("Hello World!"); //create 3 new accounts Account a1 = new Account(CreateTestAccountsNum(), "a1"); Account a2 = new Account(CreateTestAccountsNum(), "a2"); Account a3 = new Account(CreateTestAccountsNum(), "a3"); //Create 3 cards 1 to each account Card mastercard = new MasterCard("Jens", a1); Card visa = new Visa("Erik", a2); Card maestro = new Maestro("Bo", a3); // Try to use all cards mastercard.Pay(false, 200.2); visa.Pay(false, 200.2); maestro.Pay(false, 200.2); }