static void Main() { var examples = new IServiceExample[] { new CustomersServiceExample(), new InvoiceServiceExample(), new SubscriptionServiceExample() }.ToList(); examples.ForEach(e => e.Run()); }
static void Main() { var examples = new IServiceExample[] { new CustomersServiceExample(), new InvoiceServiceExample(), new SubscriptionServiceExample(), new TransactionsServiceExample(), new CreditCardServiceExample(), new ACHeCheckAccountsServiceExample() }.ToList(); examples.ForEach(e => e.Run()); }