public static void Main(string[] args) { Console.WriteLine("PDF Text Reader"); var watch = System.Diagnostics.Stopwatch.StartNew(); Program3.ProcessStats2(@"DO1_2016_01_18", 2); watch.Stop(); var elapsedMs = watch.ElapsedMilliseconds; Console.WriteLine($"Elapsed time was: {elapsedMs}"); Console.ReadKey(); }
public static void Main(string[] args) { if (args.Length == 2 && args[0] == "extract") { ExampleStages.ExtractHeader(args[1]); return; } Console.WriteLine("PDF Text Reader"); var watch = Stopwatch.StartNew(); Program3.ProcessStage("2010_04_19_p_anvisa", 1); watch.Stop(); var elapsedMs = watch.ElapsedMilliseconds; Console.WriteLine($"Elapsed time was: {elapsedMs}"); Console.ReadKey(); }