public static void Main() { BTV btv = new BTV(); List<Recording> recordings = btv.getRecordings(); // First clear out all the previous recordings, then schedule all the current recordings. RegistryManager registry = new RegistryManager(); registry.clearRecordings(); foreach (Recording r in recordings) { registry.scheduleRecording(r); } }