public static void GenReport() { System.Diagnostics.Stopwatch stopwatch = new Stopwatch(); stopwatch.Start(); Reporter reporter = new Reporter(); reporter.LoadEmailsToArray(); Debug.WriteLine("Data Collection Completed in " + stopwatch.ElapsedMilliseconds + "ms."); reporter.GenerateMailReport(); }
static void Main(string[] args) { System.Diagnostics.Stopwatch stopwatch = new Stopwatch(); stopwatch.Start(); Reporter reporter = new Reporter(); reporter.LoadEmailsToArray(); Console.WriteLine("Data Collection Completed in " + stopwatch.ElapsedMilliseconds + "ms."); reporter.GenerateMailReport(); }