예제 #1
0
 static void ProductionBehavior() =>
 ProblemStatements
 .Select(problem => new ExactSolver().DistinctExpressionsFor(problem))
 .SelectMany(expressions => Report(expressions, "No solutions found for the problem."))
 .WriteLinesTo(Console.Out);
예제 #2
0
 static void Main(string[] args)
 {
     ProblemStatements.WriteLinesTo(Console.Out);
 }