コード例 #1
0
 public static string GetName(this Solver solver)
 {
     return((
                solver
                .GetType()
                .GetCustomAttribute(typeof(ProblemName)) as ProblemName
                ).Name);
 }
コード例 #2
0
 public static int Day(this Solver solver)
 {
     return(Day(solver.GetType()));
 }
コード例 #3
0
 public static int Year(this Solver solver)
 {
     return(Year(solver.GetType()));
 }