public static void PrintInputs(string filename, FormattedInput input) { Console.WriteLine($@" -------------------------------------- [INFO] Processed InputFile : {filename} [INFO] Number of records read in: {input.RawInput.Count} --------------------------------------"); }
static void Main(string[] args) { FormattedOutput.PrintOpening(); var input = new FormattedInput(HardCodedConfig.InputFilePath); FormattedOutput.PrintInputs(input); var results1 = new Solution1(); results1.Calc(input.ParsedInput); FormattedOutput.PrintResults(results1); if (HardCodedConfig.Challenge2) { var results2 = new Solution2(); results2.Calc(input.ParsedInput); FormattedOutput.PrintResults(results2); } }
public static void PrintInputs(FormattedInput input) { Console.WriteLine($@" [INFO] Number of records read in: {input.RawInput.Count} "); }