public static string GetName(this Solver solver) { return(( solver .GetType() .GetCustomAttribute(typeof(ProblemName)) as ProblemName ).Name); }
public static int Day(this Solver solver) { return(Day(solver.GetType())); }
public static int Year(this Solver solver) { return(Year(solver.GetType())); }