private static void PrintResult(Policy policy, int puzzlePart) { int validPasswordCount = policy.CountValidPasswords(_Passwords); Console.WriteLine("Part {0} Number of valid passwords: {1}", puzzlePart, validPasswordCount); }