// ReSharper disable once ArrangeTypeMemberModifiers // ReSharper disable once UnusedParameter.Local static void Main(string[] args) { IImporter importer = new SampleDataImporter(); var courses = importer.Import().ToArray(); IExporter exporter = new ICalExporter(courses); exporter.Export(); exporter = new ConsoleExporter(courses); exporter.Export(); }
public static void Main() { //var ctx = new PetStoreEntities(); //var pets = ctx.Pets.ToList(); //foreach (var pet in pets) //{ // Console.WriteLine(pet.Breed); //} SampleDataImporter.Create(Console.Out).Import(); }
public static void Main() { SampleDataImporter.Create(Console.Out).Import(); }
static void Main(string[] args) { SampleDataImporter.Create(Console.Out).Import(); }