private async Task <StringResultTask> GetSecondTask() { string filePath = @"AdventOfCode2020.Calender.Day2.Input.txt"; PolicySet[] policies = await ParseHelper.GetInput <PolicySet>(Environment.NewLine, filePath, new PolicyParser <PositionPolicy>()); var count = policies.Count(policy => PolicyHandler.EvaluatePassword(policy)); return(new StringResultTask("Part 1", $"Answer: {count}")); }