public void Dispose() { fromTxt = null; toTxt = null; fromCsv = null; toCsv = null; fileFinder = null; }
private static void RunOptionsAndReturnExitCode(Options opts) { Console.WriteLine($"File: {opts.File}"); var json = File.ReadAllText(opts.File); var data = JsonConvert.DeserializeObject <JsonSchema.File>(json); var csv = new ToCsv(opts.Path); csv.Create(data); Console.WriteLine("data read into object"); }