How can I do a good design for this model?
问题 I'm a beginner creating diagram classes. The necessity obligates me to do a good model. The solution is for a math quiz. The system must generate each problem and check the answer. I'm going to show my general classes: Here there is the casses interface IProblemFactory<T> where T : Problem<T> { T Create(); } public class ArithmeticProblemFactory : IProblemFactory<Arithmetic> { // This generates Arithmetic problems public Arithmetic Create() { } } // And the others types of problems Then I've