static void Main(string[] args) { // get connection strings from command line arguments string sourceConnectionString = GetConnectionString(args); string destinationConnectionString = GetConnectionString(args); using (ProgramCore core = new ProgramCore(sourceConnectionString, destinationConnectionString)) { core.Execute(); } }